Creating a Decision Table

Procedure

  1. In the Rules Navigator view, expand the project node and select the ruleset or flow ruleset.

  2. Under the Decision Tables section, choose New... .

  3. In the Add New Decision Table dialog box that appears, enter the name of the decision table.

  4. Choose Next .

  5. Select the conditions from the Available Conditions section and choose Add .

  6. Choose Next .

  7. Select the actions from the Available Actions section and choose Add .

  8. Choose Finish .

  9. In the decision table editor, expand the decision table, under the General Infomation section, you can set the following properties to true or false for a decision table:

    • Return Multiple Matches

      If this property is set to true, the engine tries to evaluate more than one condition row of a decision table even if one row is already satisfied.

    • Rows Are Mutually Exclusive

      The engine evaluates the next row in a decision table only when all the condition stubs of a row are satisfied. However, if this property is set to false, the engine evaluates all other rows even if all the condition stubs of a row do not get satisfied.

      Rows are mutually exclusive should be set to true and Return multiple matches should be set to false for normal Decision Table evaluation.

Return multiple matches

If this property is set to true, the engine tries to evaluate more than one condition row of a decision table even if one row is already satisfied.

Rows are mutually exclusive

The engine evaluates the next row in a decision table only when all the condition stubs of a row are satisfied. However, if this property is set to false, the engine evaluates all other rows even if all the condition stubs of a row do not get satisfied.