Creating a decision table from a template

You can create decision tables using a decision table template.

About this task

If you have a number of sets of rules that are similar, rather than creating a new decision table each time, you can use a decision table template.

Procedure

To create a decision table from a template:

  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 then click the required rule package.

  4. In the Template field, click Browse. The Select a template dialog opens.
  5. Click the template you want to use and then click OK.
  6. In the Name field, type the name of the decision table.
  7. Click Finish.

Results

The new decision table is displayed in the Rule Explorer view and the decision table editor opens. 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.