Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Absolute number

A plain number! 

Example: if you want to alert a subscription when passing 180 sent text messages on a Bundle. The syntax would be look like this:

ALERT_LEVEL

180

Percentage

A number followed immediately (no whitespace) by a % character. 

Example: a subscription should be alerted when using 75% of the Bundle's maximum value:

ALERT_LEVEL

75%

Relative number

If a relative number is defined you can refer to one of the VALUE fields on the SubscriptionBundle or just write MAX to let the bundle decide which VALUE field is the field for the maximum value. Unless overridden in the Bundle implementation the MAX value will return the value of the field VALUE1 on the SubscriptionBundle. So the valid value for defining a relative number are: VALUE1, VALUE2, VALUE3, VALUE4 and MAX. You can also choose to subtract a number from one of the fields which would be handy if you would like to alert a subscription when there is only one hour left on a free minutes bundle.

Example: a subscription should be alerted when he has 50 text messages left on his Bundle:

ALERT_LEVEL

MAX-50

Multiple alert levels can be configured as well by separating the values with a semicolon e.g. 75%;80%;

Decimal numbers can also be used in all cases but only a dot (.) as the decimal separator is accepted. For example 99.95, 72.5% or MAX-25.5.

  • No labels