Adding a Rule to a Rule Set

Use this procedure to define a new rule in a Rule Set. A maximum of 250 rules can be defined in one Rule Set.

There are three sections of a Diameter > Mediation > Rule Sets > {name} [Insert] page: IF (zero, one, or more Conditions and the condition set of the ANDed, ORed and/or complex expression) and THEN (an Action). For a list of the Rule Template elements that appear in a rule and their definitions, see Rule Template elements.

When a Rule Template is in the "Active" or "Test" state, this Rule Template appears as a Rule Set in the Diameter > Mediation > Rule Sets menu folder. The order in which rules appear on a Diameter > Mediation > Rule Sets > {name} page determines the order in which the conditions are processed. The Up and Down buttons next to the rules can be used to change the order of processing.

  1. Select Diameter > Mediation > Rule Sets > {name}.

    The selected Diameter > Mediation > Rule Sets > {name} page opens.

  2. Click the Insert button.

    The Diameter > Mediation > Rule Sets > {name} [Insert] page opens.

    If the maximum number of rules are already defined for the Rule Set (250) , the Diameter > Mediation > Rule Sets > {name} [Insert] page will not open, and an error message is displayed.

  3. Enter the Value for each condition that appears under IF in the Field section for the new rule.
  4. Enter the Value for each attribute of the Action that appears under THEN in the Field section for the new rule.
  5. When the rule definition is complete, click:
    • OK to save the new rule and return to the Diameter > Mediation > Rule Sets > {name} page. The rule name appears in the list on the page.
    • Apply to save the new rule and remain on the Diameter > Mediation > Rule Sets > {name} [Insert] page for additional changes.
    • Cancel to return to the Diameter > Mediation > Rule Sets > {name} page without saving the changes.

    If OK or Apply is clicked and any of the following conditions exist, an error or warning message appears:
    • Any mandatory input fields are empty
    • Any input Value fields in the Conditions or Actions did not conform to the required syntax defined by the Right value type or the Action definition
    • Another rule exists within the Rule Set with the same Values in the Condition section; the rule Condition already exists in the Rule Set
    • Adding the new rule would cause the allowed maximum number (250) of rules in a Rule Set in the system to be exceeded
    • Adding the new rule would cause the allowed maximum number (250000) of rules in the system to be exceeded

  6. When the Rule Set definition and testing are complete, go to the Diameter Mediation State & Properties page.
    1. Change the Rule Template State from Test to Active.
    2. Set the Action Error Handling property, if needed.

    The state can be changed to Active after the testing is successful, the Rule Set data is provisioned, the Rule Set is associated with a Trigger, and the Rule Set is ready to use in live traffic.