Filter Transition Actions and Conditions
When adding transition actions and conditions to a life cycle (either offer or status), optionally apply a filter to the condition to decide if it has been met or to an action to decide if it should be performed.
About this task
To use a filter with a transition condition or action, configure it with a decision
table that defines whether to apply the condition or action. For example, you want
to configure the following scenario:
- If a subscriber runs out of their allotted data usage before the end of their billing cycle and they do not have any top up services activated, trigger the MtxActionStatusFeeCharge action and transition the subscriber to the status Grace.
- If a subscriber runs out of their allotted data usage before the end of their billing cycle, but they have a top up service activated, do not trigger the MtxActionStatusFeeCharge action or change the subscriber's status.
Note: This example assumes that your price components, product offers, and
catalog items have been created and configured. For more information about these
objects and the objects mentioned in the following steps, see the discussion
about each object type.
Procedure
- Create an eligibility feature for the top up service (for example, Automatic Topup).
- Add the Automatic Topup eligibility feature to a catalog item that supports automatic top ups in the catalog item's Eligibility Features tab.
- Create an Eligibility Feature Match normalizer template.
- Using your Eligibility Feature Match normalizer template, create an Eligibility Feature Match normalizer with Feature set to the Automatic Topup eligibility feature.
- Create a filter and with a new filter table.
- In the new filter table, create a decision table.
- In the decision table, click Add Column and select the normalizer you created in step 4. Add rows for Match and No Match
- Return to the filter's edit screen and enter Do Not Apply for Match and Apply for No Match. This means that the filter is applied only if a automatic topup feature is not present.
-
Edit the status life cycle status to use the MtxActionStatusFeeCharge action to
transition to the status Grace if the subscriber has no topup services
activated.
- In the status's edit screen, select the status transition.
- Add the MtxActionStatusFeeCharge transition action and select the filter you created in step 5.
Now when the subscriber has purchased the catalog item that has the feature Automatic Topup, the MtxActionStatusFeeCharge action is not called to transition the status to Grace because automatic topup services are activated.