Show TOC

Procedure documentationCreating the Decision Table Locate this document in the navigation structure

 

You can capture the criteria and the corresponding rates for long distance phone calls in a single table.

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 Decision Table.

  2. In the Decision Table Creation Wizard that appears, enter ratestable in the Decision Table Name field and choose Next.

  3. On the Select the Conditions screen, double-click the following aliases in the Available Conditions section:

    • CallCharges/Charges/ConnectionProvider

    • CallCharges/Charges/DestinationCountry

    • CallCharges/Charges/TypeOfLine

    The aliases appear in the Selected Conditions section.

  4. Select the Table has Horizontal Condition checkbox. Choose Next.

  5. On the Select the Actions screen, double-click CallCharges/Charges/ConnectionRate = {double} in the Available Actions section.

    The alias appears in the Selected Actions section.

  6. Choose Finish.

  7. Save the changes.

    In the Outline view, the ratestable node appears.

Adding Condition and Action Values
  1. In the decision table editor that appears, double-click each of the cells under the condition headers (CallCharges/Charges/Connection Provider, CallCharges/Charges/Destination Country, and CallCharges/Charges/Type Of Line) and enter the values.

    Note Note

    You can also choose Add Condition Value in the context menu of the cells under the condition headers and enter all the values in the available rows in the dialog box that appears.

    End of the note.
  2. Double-click each cell under the action header (CallCharges/Charges/ConnectionRate = {double} in the decision table, enter a value and press Enter.

Refer to the decision table below for the condition and action values you need to enter:

This graphic is explained in the accompanying text.