Creating a Decision Table
Procedure
-
In the Rules Navigator view, expand the project node and select the ruleset or flow ruleset.
-
Under the Decision Tables section, choose New... .
-
In the Add New Decision Table dialog box that appears, enter the name of the decision table.
-
Choose Next .
-
Select the conditions from the Available Conditions section and choose Add .
-
Choose Next .
-
Select the actions from the Available Actions section and choose Add .
-
Choose Finish .
-
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.