ChoiceAttributeText business rule

A ChoiceAttributeText business rule writes text to a Text attribute depending on the value in a Choice attribute.
You can use the ChoiceAttributeText rule to set up workflow instructions. For example, when the status of a requirement is Accepted, the steps to further propagate the requirement in the process can be displayed. The instructions are in the business rule container attribute, which is a Text attribute.

The ChoiceAttributeText business rule must be specified in the Description attribute in the top folder of the module. By reusing an XML template, which is created with the "write_defaults" parameter, it is easier to define the business rule.

Prerequisites

Format

In the business rule container attribute for an element, enter the business rule in the following format:
 =ChoiceAttributeText('Choice Attribute Name',"write_defaults")

Parameters

Table 1. ChoiceAttributeText parameters
Parameter Explanation
Choice Attribute Name The choice attribute on which the notifier is triggered
write_defaults Writes the default XML template in the top folder

Feedback