Run if true

Use the Run if true action A tool for building the processes, logic, and direction within workflows. to run a set of child actions if a conditional statement is true. The conditions you define are based on variables from within the start event and within the workflow. You can configure the Run if true action to run child actions if

  • All conditions are true
  • or

  • Any conditions are true

If the conditions you define are not true, the workflow skips the child actions altogether.

Before you begin: 

  • Understand Variables

  • Understand container actions. You can add actions to create branches such as Branch by stage or to contain other actions such as Action Set that can be collapsed down into a single action high-level view.

Jump to:

Configure the Run if true action

See the Run if true fields, buttons, and settings table for all the configuration fields.

In the Designer page:

  1. Click the Logic and flow action group in the action toolbox.

    or

    Find actions by browsing action groups, or by typing an action name or function in the Search field at the top of the action toolbox.

  2. Drag the Run if true action to the point in the workflow where you want the child actions to run if the conditions are met.

  3. Click the Run if true action.

  4. Complete the condition fields: 

    1. For When, select the variable you want to evaluate.

    2. For Operator, select an operator for comparing the variable to the value.

    3. For Value, specify a value for the comparison. You can insert a variable or type the value.

      Note: Null values are considered an unknown state and we strongly recommend that you do not use them. If only one end of the operand contains a null value, then it will be evaluated as false. For example, ("test" != Null) returns False, and ("test" == Null) also returns False. However, if both ends of the operand contain null values (matching states), an intuitive response is returned. For example, (Null != Null) returns False, while (Null == Null) returns True.

  5. Click Add condition to save the new condition.
  6. For each additional condition you want to add:
    1. Click Add condition.
    2. Complete the condition fields.

    3. Click Add condition to save the new condition.
  7. Select any or all to determine how to evaluate the set of conditions.