Creating the Rule
Use
You need to create a rule called calculate long distance rate that evaluates the ratestable .
Procedure
-
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 .
-
In the dialog box that appears, enter calculate long distance rate in the field and choose OK .
-
In the rule editor that appears, under the If section, choose the Add icon.
The default condition: Operation.isSuccessful Equals true appears.
-
Edit the default condition as follows:
-
Choose the LHS value: Operation.isSuccessful and in the drop down menu choose CallCharges/Charges/Connection Provider
-
Choose the comparator: Equals and in the drop down menu choose Not Equals .
-
Choose the RHS value: Default Value and in the inline text box enter null .
-
-
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
-
Save the changes.
Next Step