Setting up a decision table template

You create decision table templates to enable the efficient creation of multiple decision tables that have similar content and structure.

About this task

Deprecated feature:

Deprecation icon Rule templates are deprecated in V8.8.1. This feature will be removed in a future release of the product. See Deprecated features for migration details.

You build decision tables in a template in the same way that you create a normal decision table, except that you leave parts of the decision table empty to cater for variations in the decision tables that will be created from it.

Procedure

To create a decision table template:

  1. Select your rule project and on the File menu click New  > Decision Table Template.

    The New Decision Table Template wizard opens.

  2. The default directory for templates to be saved is the templates folder in your rule project. If you want to save your template to a folder inside the templates folder, click Browse in the Folder field and navigate to the required folder.
  3. Type the name of your decision table in the Name field.
  4. Click Finish.

    The new decision table template appears in the folder you specified, and the decision table editor opens.

  5. Using the decision table editor, build the contents of the template, leaving those parts of the decision table empty where variations are likely to occur.

    In the Documentation section, you can enter information specific to the template. This information is not copied to the decision tables created from the template. To enter documentation that applies to all the decision tables created from the template, use the documentation property in the Properties view.

  6. Save your work.