Define a Logical Expression
A Logical expression uses one or more conditions (example: Incident.Status does not equal Closed) to return a true or false value.
To define a Logical expression:
- Create an expression.
- In the Editor drop-down list, select Logical.
The Logical Expression section opens. - Define the expression condition:
- Select a value from the Token Selector in the far left Value drop-down list (example: Incident.Status).
- Select an operator from the Operator drop-down list (example: Not Equal).
- Select a value from the Token Selector in the far right Value drop-down list (example: Closed).
If the field is validated, the Legal Values button displays to the right of the drop-down list. Use it to choose from a list of appropriate values.
- (Optional) Add additional related expressions:
When you add additional expressions to the Logical expression, all conditions in the group must be true for the expression to return a True value.- Select Advanced.
The Advanced section opens and displays the defined expression. - Define a Group expression:
- Select New, and then select Group Expression in the drop-down list.
The Grouping section opens.
- Select a grouping condition:
- All of the items in the group must be true.
- At least one of the items in the group must be true.
The grouping condition displays in the Advanced section.
- Select New, and then select Group Expression in the drop-down list.
- Select Advanced.
- (Optional) Define an expression that meets the Group expression condition:
- Select a value from the Token Selector in the far left Value drop-down list (example: Incident.Status).
- Select an operator from the Operator drop-down list (example: Not Equal).
- Select a value from the Token Selector in the far right Value drop-down list (example: Resolved).
If the field is validated, the Legal Values button displays to the right of the drop-down list. Use it to choose from a list of appropriate values.
- (Optional) Add additional Logical and Group expression conditions.
- Select Save.