Show TOC

Procedure documentationCreating the Rule Locate this document in the navigation structure

 

You need to create a rule called calculate long distance rate that evaluates the ratestable.

Procedure

  1. In the Project Explorer view, expand the ratecalculation node and the Rules Modeling node and in the context menu of the ratecalcrules node, choose New Rule.

  2. In the dialog box that appears, enter calculate long distance rate in the field and choose OK.

  3. In the rule editor that appears, under the If section, choose the Add icon.

    The default condition: Operation.isSuccessful Equals true appears.

  4. Edit the default condition as follows:

    1. Choose the LHS value: Operation.isSuccessful and in the drop down menu choose CallCharges/Charges/Connection Provider

    2. Choose the comparator: Equals and in the drop down menu choose Not Equals.

    3. Choose the RHS value: Default Value and in the inline text box enter null .

  5. Under the Then section, choose the icon that looks like a plus sign and in the drop down menu that appears expand the Evaluate Decision Table node and choose ratestable

  6. Save the changes.