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:

  1. Create an Expression.
  2. In the Editor drop-down list, select Logical.

    The Logical Expression section opens.

  3. Define the Expression condition:
    1. Select a value from the Token Selector in the far left Value drop-down list (example: Incident.Status).
    2. Select an operator from the Operator drop-down list (example: Not Equal).
    3. 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. It allows you to choose from a list of appropriate values.
  4. (Optional) Add additional related Expressions:
    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.
    1. Select Advanced.

      The Advanced section opens and displays the defined Expression.

    2. Define a Group Expression:
      1. Select NewCreate New Button with Arrow, and then select Group Expression in the drop-down list.

        The Grouping section opens.

      2. 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.

  5. (Optional) Define an Expression that meets the Group Expression condition:
    1. Select a value from the Token Selector in the far left Value drop-down list (example: Incident.Status).
    2. Select an operator from the Operator drop-down list (example: Not Equal).
    3. 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 Legal Values Button displays to the right of the drop-down list. It allows you to choose from a list of appropriate values.
  6. (Optional) Add additional Logical and Group Expression conditions.
  7. Select Save.