(deprecated) Creating a rule template

You use a rule template as a starting point for creating a rule.

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.

Existing templates are available on the Explore tab in the Templates smart folder.

To use a template as a starting point for creating a rule, select the required template under Start from a template on the Compose tab.

You can create new rule templates if you have user permissions to do so. You create a new rule template in a similar way to creating a new rule, except for the following:
  • You do not have to complete the rule statements. Instead, because the template is the starting point for creating similar rules, build the rule statements as you want them to appear.

  • You can freeze any part of the rule statements so that they cannot be modified when someone uses the template to create their rules.

  • You can set the properties that you want rules created using your template to have.

Any modifications to an existing template have no impact on rules previously created from this template. The modifications apply only when you use the template to create a new rule.

Procedure

To create a rule template:

  1. On the Compose tab, select the template as the type of project element to create, specify Action Rule as the rule type for this template in the drop-down list, and then click OK.
  2. In Step 1: Properties of the Compose Wizard, enter the name and other properties of your template and then click Next.
  3. In Step 2: Content, write the contents of an action rule as you want it to appear when using your template.

    To freeze parts of a rule, right-click the part of the rule statement that you want to freeze and then select Freeze from the drop-down list.

    To unfreeze a frozen part of a rule, right-click the frozen statement and then select Unfreeze.

  4. In Step 3: Initial Values, set the properties that you want the rules created using your template to have. You set properties by building the Initial Values table. For example:
    Name Value
    priority high
    status defined
    Note:

    You cannot freeze these properties.

  5. In Step 4: Documentation, document your template.
  6. In Step 5: Version information, enter the version information.
  7. Click Finish.