Bundle Alert Syntax
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 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 subscriber 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 or a comma; examples: A) 75%;80%. B)75%,80%
Decimal numbers can be used but only a dot (.) is accepted as the decimal separator. For example 99.95, 72.5% or MAX-25.5.