Search K
Appearance
Appearance
Evaluates one or more conditions and routes the workflow through either the True or False path based on the result.
Use the If Statement to introduce conditional branching into a workflow. Configure one or more conditions using a type-aware condition builder, combine them with AND or OR logic, and the task will direct execution down the matching path. It is the primary tool for decisions that have exactly two outcomes.
| Field | Type | Required | Description |
|---|---|---|---|
| Operation | Dropdown | No | Logical operator applied across all conditions. AND requires every condition to pass; OR requires at least one. Defaults to AND. |
| Conditions | Search Condition Builder | No | One or more conditions to evaluate. Each condition specifies a data type, an input value, an operator, and a comparison value. Supported types: string, number, dateTime, boolean, object, regex, array. |
This task controls workflow routing and does not produce data output variables. It directs execution through one of two named connector paths:
| Connector | Description |
|---|---|
| True | Followed when all conditions pass (AND) or at least one passes (OR). |
| False | Followed when the conditions are not satisfied. |
Check if two variables both equal specific values.
| Field | Value |
|---|---|
| Operation | AND |
| Condition 1 Type | String |
| Condition 1 Input | SetVariable1.var1 |
| Condition 1 Operator | Equals |
| Condition 1 Compare | abc |
| Condition 2 Type | String |
| Condition 2 Input | SetVariable2.var2 |
| Condition 2 Operator | Equals |
| Condition 2 Compare | cba |
Route to True if either variable matches its expected value.
| Field | Value |
|---|---|
| Operation | OR |
| Condition 1 Type | Number |
| Condition 1 Input | MathOperations1.Result |
| Condition 1 Operator | GreaterThan |
| Condition 1 Compare | 10 |
| Condition 2 Type | String |
| Condition 2 Input | SetVariable1.status |
| Condition 2 Operator | Equals |
| Condition 2 Compare | approved |