Configure a Conditional Expression

To configure a conditional expression for your process, do the procedure in this topic.

Condition Builder Screen





Good to Know

How to Start

  1. On the Organizer, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Common tab.
      2. On the Common tab, drag the Condition activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

Procedure

  1. On the Condition Builder screen, in the Display Name field, enter the activity name to show in your process.
  2. (Optional) In the Description field, enter more than one line of text description for your activity.
  3. (Optional) In the Else connector shows on field, select the location and direction of the else arrow.
  4. To configure a rule, in the if field, enter your rule name.
  5. To specify your rule, click Edit .
  6. On the Rule Builder screen, in the Rule Variable field, enter the variable name, or drag a process data variable from the Process Data screen.
  7. In the Operator field, select the operator to compare the values in your logical expression.
    Field Name Definition

    Operator

    Function:
    Lets you select the operators for a logical expression.
    Accepted Values:
    Data Type Expression Operators

    String

    ,==, StartsWith, EndsWith, Contains, !=, Does Not Contain Data, Contains Data

    Bool

    ==

    DateTime

    ,==, >, >= , <, <=, !=

    Number

    ,==, >, >=, <, <=, !=

    Default Value:
    None
  8. In the Rule Value field, enter the value to compare, or drag a process data variable from the Process Data screen.

    For Example:

    IF RequestedAmount <= 25000
  9. (Optional) Click Add to add a condition that can be connected to the previous expression with a logical AND or OR operator.

    For Example:

    IF RequestedAmount <= 25000 OR Department== Sales
  10. (Optional) Click Subcondition to add a statement that adds a subordinate condition to a rule.
  11. Click Back to save your rule and go back to the Condition Builder screen.
  12. (Optional) To add more rules, click Add New Rule , and repeat the procedure to specify a rule.