Define a Logical Expression
A Logical Expression is an Expression that 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, select
Logical.
The Logical Expression section opens.
- Define the Expression condition:
- Select a value from the Token Selector in the left-most Value drop-down (example: Incident.Status).
- Select an operator from the Operator drop-down (example: Not Equal).
- Select a
value from the Token Selector in the
right-most Value drop-down (example: Closed).
Note: If the Field is validated, the Legal Values button displays to the right of the drop-down. It allows you to choose from a list of appropriate values.
- (Optional) Add additional related Expressions:
Note: When additional Expressions are added to the Logical Expression, all conditions in the group must be true for the Expression to return a True value.
- Click the
Advanced button.
The Advanced section opens and displays the defined Expression.
- Define a Group Expression:
- Click the
New button
, and then select Group Expression in the drop-down.
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.
- Click the
New button
- Click the
Advanced button.
- (Optional) Define an Expression that meets the Group Expression
condition:
- Select a value from the Token Selector in the left-most Value drop-down (example: Incident.Status).
- Select an operator from the Operator drop-down (example: Not Equal).
- Select a
value from the Token Selector in the
right-most Value drop-down (example: Resolved).
Note: If the Field is validated, the Legal Values button
displays to the right of the drop-down. It allows you to choose from a list of appropriate values.
- (Optional) Add additional Logical and Group Expression conditions.
-
Click OK.