Rules (tgbrg7500m000)
Use this session to view, specify, and maintain rules.
To create a rule expression (IF-part):
- Select a rule.
- Click to start the Text Editor.
- Specify business functions or business processes following the IF logical operator. Leave a space between the operators and the operands, for example BF,1.
- Close the Text Editor.
Select the
command to create the Then part of the expression in one of these sessions:- The Set Parameters by Rule (tgbrg7117m000) session
- The Select Business Processes by Rule (tgbrg7127m000) session
- The Set Static Conditions by Rule (tgbrg7137m000) session. It depends on the rule type which of the other sessions is started.
You cannot select the Consistency type. In that case, the Then segment of the rule expression must be specified in the Text Editor.
command if the rule is ofYou cannot change rules:
- From a derived-from version
- From another version than the current modeling version.
Note: If you have started this session by
zooming, you can only find and select a record.
Using logical operators
If more than one business process or business function is incorporated in the rule expression, these must be separated by one of these logical operators:
- or
- xor
- and
- not
- (
- )
Checking and applying rules
Rules are checked ( Consistency rule type) or applied (other rule types) in reference models and project models. Rules of Consistency type are checked in these cases:
- If the Check Reference Model Consistency (tgbrg2220m000) session is activated (reference model).
- If the Check Project Model Consistency (tgbrg4220m000) session is activated (project model).
How rules of type other than Consistency are applied is described in the Help information of these sessions:
- The Set Parameters by Rule (tgbrg7117m000) session
- The Select Business Processes by Rule (tgbrg7127m000) session
- The Set Static Conditions by Rule (tgbrg7137m000) session