Creating a decision table from scratch

Decision tables represent in tabular form all possible situations that a business decision might encounter.

About this task

Decision tables comprise rows and columns, and each row corresponds to a rule. They are used to represent in tabular form all possible situations that a business decision might encounter, and to specify which action to take in each of these situations.

Procedure

To create a decision table from scratch:

  1. In the Rule Explorer view, click your rule project.
  2. On the File menu, click New  > Decision Table.

    The New Decision Table wizard opens.

  3. Optional: Add the decision table to an existing rule package:
    • In the Package field, click Browse and click the required rule package.

  4. In the Name field, type the name of the decision table.
  5. Click Finish.

    The new decision table is displayed in the Rule Explorer view and the decision table editor opens.

    The default decision table has three condition columns and one action column. Action columns have a shaded background.

Results

You can now use the decision table editor to define the condition and action columns for the decision table, and to specify values for each row, that is, for each rule.