Editing RulesYou have started the rule editor and created a new rule or loaded an existing rule (see Using the Rule Editor).
If you want to use data from compositions in the rule, select the corresponding value assignment type in the Composition
field.
The system inserts the Components
branch after the Identification (Numbers, Names, Chemical Formulas)
branch of the overview tree. This contains the fields of the Composition
tab page of value assignment type Composition
.
Note
Selecting a composition causes all created facts to be assigned to the composition. If you want to assign characteristics of other value assignment types, identifiers, header data etc., to the rules during rule processing using drag and drop, you must select NONE in the Composition
field beforehand.
The sequence in which the rules are executed is in line with the data dependency strategy (see When Is a Rule Executed?). If you want the rule to be explicitly executed after certain other rules, enter these other rules in the Depends on Rules
fields. To do this, you can use drag and drop to assign the other rules from the rule tree to the field.
If you want to control the sequence in which the rules are executed using special commands in the ToDo
field (see Control of the Rule Execution Process), you should assign the rule to a rule group as follows:
Position the cursor within the rule tree window on screen <Path>\<file name>:Rules
.
Select .
Select the rule in the rule tree and assign it to the group using drag and drop.
Enter a description of the rule if necessary.
Under Condition (IF)
, define the conditions that have to be fulfilled to execute the actions under List of ToDo's (THEN)
.
Under List of ToDo's (THEN)
, define the actions that the system is to execute if the conditions under Condition (IF)
are fulfilled.
Note
When entering data for points 5 and 6, please note the following:
You can use drag and drop to assign most elements of the specification database (characteristics, value assignments, phrases etc.) to the fields Condition (IF)
, Left Expr.
and Right Expr.
in the rule editor. The system then automatically generates the entries in the Mapping Tables with the correct assignments.
Write texts in assignments, for example, in quotation marks, e.g. KENNZ_REV := "2nd supplement".
Specify characteristics that are assigned multiple values as sets.
See also:
Operators, Commands, and Functions