Thresholds
For many thresholds, the threshold is an amount at which a notification is triggered to alert group administrators or subscribers that a balance or meter has reached or exceeded a specific amount. These thresholds are called soft thresholds because they do not result in a denial of rating. Some thresholds, such as balance-floor thresholds, are hard thresholds in that any operation that exceeds its limit is denied.
The purpose of a threshold is to send an alert about how much has been spent so assets can be topped-up or a payment can be made before service is throttled or denied. As with credit limits, balances can have default, personal, and group thresholds set on them. Thresholds can be set for both prepaid and postpaid balances and meters, and simple and periodic balances and meters. For periodic balances and meters, each periodic entry in the series inherits the threshold values set on the first entry. Credit limits and notification thresholds do not fluctuate from entry to entry.
When a subscriber or group purchases additional product offers for a recurring grant, the credit floor is increased by the sum of all grants to that periodic balance. The threshold limit is reset to match the absolute value of the credit floor. For example, if a balance has a recurring grant of 300 minutes and an additional product offer is purchased for that balance with a recurring grant of 200 minutes, the credit floor changes from -300 to -500 and the threshold limit is reset to 500.
If a subscriber or group cancels a product offer for a recurring grant, the credit floor is decreased by the amount of the product offer. The cancelation is either immediate, at the end of the billing cycle, at the end of the balance cycle, or at the end of purchased item cycle, as determined by the Offer Cancel Type value in the product offer. For example, if a balance has two recurring grants for a total of 500 minutes and a subscriber cancels a product offer for that balance with a recurring grant of 200 minutes, the credit floor changes from -500 to -300 and the threshold limit is reset to 200 minutes. The adjusted credit floor can be less than the canceled grant amount (credit floor can be less than or equal to 0). If the target of the product offer purchased by a subscriber or group is tier (not event initiator) and the tier of the parent group is the same as the purchased offer target tier, the credit floor of the parent group is increased by the granted amount. If the offer is canceled, the credit floor of the parent group is decreased by the canceled amount. If the target of the product offer purchased by a subscriber or group is event initiator, the credit floor of the subscriber or group is increased by the granted amount. If the offer is canceled, the credit floor of the subscriber or group is decreased by the canceled amount.
If notifications are enabled for balance thresholds, each time a usage or non-usage threshold is triggered, MATRIXX Engine generates a threshold notification (MtxBalanceThresholdNotification). To deliver notifications only when charging for usage, you can identify and filter out notifications of thresholds generated during non-usage rating using the ThresholdTrigger field in the MtxBalanceThresholdNotification MDC. For information about the ThresholdTrigger field, see the discussion about MtxBalanceThresholdNotification in MATRIXX Integration. To filter out non-usage events (for example, an offer cancelation), you can create a filter and add it to the notification type group_balance_threshold or subscriber_balance_threshold in My MATRIXX. For information about notification type filters, see the discussion about notification type filters in My MATRIXX Help. For information about adding a filter to a notification type, see the discussion about customizing a notification type in My MATRIXX Help.
If Report Highest Threshold Breaches Only is selected on a balance or meter template, only the highest threshold breach is reported in events and notifications.
The engine reports the highest threshold breach on a per-message basis. Therefore, a SubMan multi-request (MtxRequestMulti
) might still
evoke multiple recorded breaches, but only the highest for each individual component request is reported.
If multiple thresholds are triggered by the same message on the same balance amount, the last processed threshold is the one reported.
- A fixed threshold at -50
- A percentage threshold at 50%
For more information, see the discussions about configuring balance template general properties and configuring meter template general properties in My MATRIXX Help.
Threshold Retriggering
- No cycle (default)
- Owning balance or meter cycle
- Billing cycle
- Balance Cycle Aligned — The cycle used for retriggering notifications/events is aligned with the balance cycle. Note: This option is not available on simple balances.
- Billing Cycle Aligned — The cycle used for retriggering notifications/events is aligned with the billing cycle.
- No Cycle — The Unlimited or Once Per Cycle selection in Threshold Cycle Notification Limit/Threshold Cycle Event Limit applies over the balance lifetime.
At purchase time, you can override and restore the threshold configuration by extending the SubMan Threshold Add/Remove APIs, for example, MtxRequestSubscriberAddThreshold.
Thresholds Based on Consumed and Available Amounts
In addition to defining a threshold based on a balance amount (Balance Amount threshold type), you can also define a threshold based on a consumed or available amount.
- Consumed Amount threshold type — The threshold is based on the quantity of a balance or meter being used from the credit floor towards the credit limit.
- Available Amount threshold type — The threshold is based on the quantity of a balance or meter remaining from the credit limit towards the credit floor.
Similar to the balance amount threshold type, the consumed amount and available amount threshold types can be expressed as a single value, a range, or a percentage.
Thresholds for Prepaid G/L Balances
Pricing administrators must set percentage thresholds on prepaid G/L balances as positive numbers in My MATRIXX.
Thresholds for Postpaid G/L Balances, Virtual Balances, and Meters
The thresholds set on a postpaid G/L balance, virtual balance, or meter can be absolute values or percentages, and the amount represents the used balance amount before the credit limit is reached. For example, you can set a threshold of 90% on a meter tracking a group balance to alert administrators the group usage is nearing the limit. If the credit limit on the group's postpaid meter is 300, when the balance amount equals $270, a notification is sent.
For virtual balances, the threshold limit is the minimum of all threshold limits set in the aggregation hierarchy, from the point of query to the root of the group. For example, if a group member has a threshold limit of infinity, its parent group has a threshold limit of 500, and the root group has a threshold limit of 600, the group member's threshold limit is set to 500. For prepaid group G/L balances, the virtual balances (which are always postpaid) are created with an unlimited credit limit, and for postpaid group G/L balances the virtual balances are created with the same credit limit as the group's G/L balance. Administrators can change the credit limit on a virtual balance.
- MtxRequestSubscriberAddThreshold
- MtxRequestGroupAddThreshold
Whenever an AddThreshold or RemoveThreshold SubMan API is called to add, modify, or remove a threshold for a subscriber or group, an MtxBalanceThresholdModifyEvent event is generated.
You can use the MtxRequestSubscriberAddThreshold and MtxRequestGroupAddThreshold SubMan APIs to override new threshold history configuration data details in My MATRIXX for a subscriber or group addressed by the SubMan request. These requests contain the MDC structure MtxThresholdData.
For more information about configuring a balance template threshold and overriding the threshold history configuration data details, see the discussion about configuring balance template thresholds in My MATRIXX Help. For more information about the Event Enabled attribute, see the discussions about MtxThresholdData and MtxThresholdInfo in MATRIXX Subscriber Management API. For more information about the AddThreshold and RemoveThreshold SubMan APIs, see the discussions about MtxRequestSubscriberAddThreshold, MtxRequestGroupAddThreshold, MtxRequestSubscriberRemoveThreshold, and MtxRequestGroupRemoveThreshold in MATRIXX Subscriber Management API.
Threshold-Triggered Auto Recharge
Using the SubMan APIs, you can configure a balance instance with a threshold that triggers an auto recharge request. For example, when a subscriber's prepaid main balance with a $5 threshold is triggered (the prepaid main balance drops below $5), a $50 recharge to the prepaid main balance is requested. For more information about threshold-triggered auto recharge, see the discussion about threshold-triggered auto recharge in MATRIXX Pay Now.