- Documentation
- Activities
- Logic & Loops
- While Loop
Keep repeating steps as long as a condition is met
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Loop Type loopType | enum | Optional | condition | —conditionfixedCount |
Left Value leftOperand | expression | Optional | — | — Shown when loopType = condition |
Operator operator | enum | Optional | != | —==!=><>=<=Shown when loopType = condition |
Right Value rightOperand | expression | Optional | — | — Shown when loopType = condition |
Custom Condition customExpression | expression | Optional | — | — Shown when loopType = condition |
Number of Iterations iterationCount | number | Optional | 10 | — Shown when loopType = fixedCount |
Index Variable indexVariable | variable | Optional | index | — |
Maximum Iterations (safety limit) maxIterations | number | Optional | 1000 | — |
Output
$indexVariableNumberCurrent iteration number (starts at 0)
Compatibility
WindowsLinuxAttendedUnattended