The following instructions describe how to assign a rule segment at the same time as you create a rule. You can also assign
a segment after creating a rule.
In the Source pane, select the segment you want to assign to a business rule. In the Rules pane, select the business function
or rule set (if any) for the new rule, then choose
Create Rule in the
Rules menu. The Create Business Rule dialog opens.
Tip: You can select a code segment as construct or text. Select a segment as text when you want to select either more or less code
than a construct contains. To select a segment as text, click-and-drag from the first line of the segment to the last line
of the segment. The segment is highlighted in blue. To select a segment as construct, click inside the construct in the Source
pane. The segment is highlighted in yellow.
Business Function drop-down, select the business function for the rule. The current business function is displayed. To create a new business
New, then follow the instructions for creating business functions.
Rule Set drop-down, select the rule set for the rule. The current rule set is displayed. To create a new rule set, click
New, then follow the instructions for creating rule sets.
Specify the rule's attributes:
Name field, enter the name of the rule.
Business Description tab, enter the business description for the rule.
On the Technical Description tab, enter the technical description for the rule.
On the Attributes tab, specify the remaining attributes of the rule.