Search K
Appearance
Appearance
The If Statement node evaluates user-defined conditions and returns True if the conditions are satisfied, or False otherwise.
No external service or node dependencies are required for this node.
| Operation | Description |
|---|---|
| AND | Requires all conditions to be met. |
| OR | Requires one condition to be met. |
| Label | Input Type | Description | Required | Visible When | Default | Example |
|---|---|---|---|---|---|---|
| Operation | picklist | Operator used when multiple conditions present | ❌ No | Always | AND | OR |
| DataType | picklist | The data type for comparison. | ❌ No | Always | string | number |
| Input | JSON Array | The left-hand value to compare. | ❌ No | Always | null | var1 |
| Operator | picklist | The operator to use for comparison. | ❌ No | Always | Equals | Contains |
| Compare | text | The right-hand value to compare against. | ❌ No | Always | null | abc |
| Add Condition | button | Adds an additional comparison | ❌ No | Always | null | N/A |
| DataType | Description |
|---|---|
Equals | Checks if the input value equals the value in the compare field |
Not Equals | Checks if the input value does not equal the value in the compare field |
Contains | Checks if the input value contains the value in the compare field |
Starts With | Checks if the input value starts with the value in the compare field |
Ends With | Checks if the input value ends with the value in the compare field |
Is Null or Empty | Checks if the input value is null or empty |
| Operator | Description |
|---|---|
Equals | Checks if the input value equals the value in the compare field |
Not Equals | Checks if the input value does not equal the value in the compare field |
Greater Than | Checks if the input value is greater than the value in the compare field |
Less Than | Checks if the input value is less than the value in the compare field |
≥ (Greater or Equal) | Checks if the input value is greater than or equal to the value in the compare field |
≤ (Less or Equal) | Checks if the input value is less than or equal to the value in the compare field |
| DataType | Description |
|---|---|
Before | Checks if the input date value is before the date value in the compare field |
After | Checks if the input date value is after the date value in the compare field |
Equals | Checks if the input date value is equal to the date value in the compare field |
Not Equals | Checks if the input date value is not equal to the date value in the compare field |
Is Null or Empty | Checks if the input date value is null or empty |
| DataType | Description |
|---|---|
Equals | Checks if the input value is equal to the value in the compare field |
Not Equals | Checks if the input value is not equal to the value in the compare field |
| DataType | Description |
|---|---|
Deep Equals | Checks if the input value is structurally and exactly equal to the value in the compare field. |
Not Equals | Checks if the input value is structurally not equal to the value in the compare field. |
Is Null or Empty | Checks if the input value is null or empty |
The If Statement node does not return data; instead, it controls workflow execution by directing the flow through either the True or False path based on the evaluation of conditions.
Check if {{SetVariable2.var1}} is equal to abc AND {{SetVariable3.var2}} is equal to cba.
| Field | Value |
|---|---|
| Operation | AND |
| DataType | String |
| Input | {{SetVariable2.var1}} |
| Operator | Equals |
| Compare | abc |
| Input | {{SetVariable3.var2}} |
| Operator | Equals |
| Compare | cba |
Check if {{SetVariable2.var1}} is equal to abc OR {{SetVariable3.var2}} is equal to cba
| Field | Value |
|---|---|
| Operation | OR |
| DataType | String |
| Input | {{SetVariable2.var1}} |
| Operator | Equals |
| Compare | abc |
| Input | {{SetVariable3.var2}} |
| Operator | Equals |
| Compare | cba |
| Error Condition | Description |
|---|---|
| TBD |