CSM 10.4 Documentation

Home

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:

  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 Legal Values Button displays to the right of the drop-down list. Use it to choose from a list of appropriate values.
  4. (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.
    1. Select Advanced.
      The Advanced section opens and displays the defined expression.
    2. Define a Group expression:
      1. Select New, 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 displays to the right of the drop-down list. Use it to choose from a list of appropriate values.
  6. (Optional) Add additional Logical and Group expression conditions.
  7. Select Save.

Was this article useful?