Loop
A Loop Node runs the Nodes on its Loop output again and again, then continues on After Completion.
Settings
- Infinite: a switch that is on for a new Loop Node. The loop never ends and After Completion is never triggered. Only stopping the Flow ends it.
- Iterations: the number of passes. It is an integer Expression Field with a default of
5, and it is greyed out while Infinite is on. It can use Variables. The Node evaluates it when it starts and again after every pass.0goes straight to After Completion. An empty field shows "Field is required", and a negative value shows "Value must be positive". If a Variable makes the value negative at run time, the Flow stops with an error.
Outputs
- Loop: runs once per pass. The next pass starts when the branch on Loop has finished.
- After Completion: runs after the last pass.
While the Node runs, a chip above it shows the current pass, for example "3 / 5", or "3" when Infinite is on. See Watching a run.