Creating a Compound Rule Expression
About this task
To create a compound rule expression
Procedure
-
In the
Expression list in the
Rule
Expression panel, click
Compound
Expression.
Optimize displays the fields shown in the following figure.
- In the first indented Expression list and the related fields, create the first rule expression using the instructions in Creating a Simple Rule Expression and Creating a Date-Time Rule Expression.
-
In the
Boolean
list, select the comparator you want to use to join the two expressions.
The following table describes when the rule evaluates to true depending on the comparator that you select.
Comparator Rule evaluates to true when AND Both expression 1 and expression 2 are true. OR Expression 1 is true, expression 2 is true, or both expressions are true. XOR Expression 1 is true but expression 2 is false, or expression 2 is true and expression 1 is false. - In the second indented Expression list and the related fields, create the second rule expression using the instructions in Creating a Simple Rule Expression and Creating a Date-Time Rule Expression.
- Click Save to save the rule expression.