Definition and Usage
Repeat a set of commands as long as the defined condition remains true. This command allows you to create conditional loops that continue execution until the specified comparison between two operands evaluates to false.
Parameter Values
Input parameters
Parameter | 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 or variable | Yes | Supports variable insertion |
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 or variable | Yes | Supports variable insertion |
Ignore case | When checked, the comparison will not be case-sensitive | True/False | No | Primarily applies to text comparisons |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can insert variables into both the First operand and Second operand fields by clicking the {x} button or using the variable selector. Variables allow you to create dynamic conditions that change during execution. For example:
You can use a counter variable that increments with each loop iteration
You can reference data from previous actions to control loop termination
You can combine variables with text or mathematical expressions
Notes
Make sure to include a mechanism within the loop that will eventually make the condition false; otherwise, you may create an infinite loop.
The loop will execute all commands nested within it as long as the condition evaluates to true.
For numeric comparisons, ensure both operands contain valid numeric values.
For text comparisons, consider using the "Ignore case" option when case sensitivity is not important.
Each loop iteration will evaluate the condition before executing the nested commands.
To exit a loop prematurely, you can use a Break loop command within a nested condition.