Definition and Usage
Check another condition if earlier conditions were false. This command is used in conditional logic structures to evaluate alternative conditions when previous If or Else If conditions have not been met.
Note: An Else If command must be used with an If command.
Parameter Values
Input parameters
Parameter Name | Description | Possible Values | Required | Options / Notes |
First operand | Enter a variable, expression, text, number, or symbol created by a previous command to compare with the second operand | Any valid value | Yes | Supports variables |
Operator | Choose the relationship between the first and second operand | Equals to (=), Not equal to, Greater than (>), Greater than or equal to (>=), Less than (<), Less than or equal to (<=), Contains, Does not contain, Is empty, Is not empty, Is true, Is false, Starts with, Does not start with, Ends with, Does not end with | Yes |
|
Second operand | Enter a variable, expression, text, number, or symbol created by a previous command to compare with the first operand | Any valid value | Yes | Supports variables |
Ignore case | When checked, string comparisons will ignore letter case | True/False | No | Useful for text comparisons |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
Variables can be inserted into both the First operand and Second operand fields, indicated by the {x} icon in the interface.
When using variables in conditions, ensure that the variable types are compatible with the selected operator.
Text variables work with all comparison operators, while numeric variables are best used with mathematical comparison operators.
Notes
The Else If command must follow an If or another Else If command in the workflow structure.
Multiple Else If commands can be used in sequence to check various conditions.
The code block under an Else If will only execute if all previous conditions were false and its own condition is true.
For text comparisons, consider using the "Ignore case" option when case sensitivity is not important.
When using the "Contains" operator with strings, partial matches will evaluate to true.
The "Is empty" and "Is not empty" operators check if a variable contains a value, without needing a second operand.