Skip to main content
Version: Current

If Else

Description

This activity uses conditional or branching statements to execute different statements/branches based on whether a given expression is true or false. It includes a condition, a True branch, and a False branch. The Condition field must contain a Boolean expression that determines which branch to execute: True or False.


Common Capabilities

Process Data Support

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design Time Configuration

Display Text

Specify the activity name that shows in your process.

Condition

Specify the condition expression. If the expression is true, the True branch executes; otherwise, the False branch executes. Click on the vertical ellipse to choose the following options.

OptionsDescription
DefaultWhen you select this option, specify the condition directly.
JavascriptSpecify the condition using javascript expression.
LiquidSpecify the condition using a liquid expression.

Wait All Incoming

Execution Control

Controls how this activity behaves when multiple incoming execution paths converge.

Determines whether the activity executes when:

  • any incoming path completes, or
  • all relevant paths have completed before execution

Learn more → Execution Control


On Error

Error Handling Strategy

Defines how the workflow behaves if this activity encounters a runtime error.

Supported strategies include Fault, Continue, Suspend, and Retry.

Learn more → Error Handling