Workspace 6.21.5
ForLoop

The ForLoop operation will repeatedly execute its contained workflow, incrementing its 'Counter value' input after each iteration by 'Step value' in order iterate from 'Start value' to 'End value' (inclusive). The operation will cease iterating once 'Counter value' is equal to 'End value'. 'Start value' and 'End value'do not necessarily need to be positive values, but 'Start value' must be less than or equal to 'End value'.

  • Default label: "For Loop"
  • Member of plug-in: Built-in
  • Catalogue path: Builtin/Loops
Inputs:
Enable loopboolIf true, the loop will execute multiple iterations, based on its control inputs. If false, the loop will execute a single iteration only.
WrapboolIf true, once the loop has completed its final iteration and satisfies its termination condition, it will restart executing from the first iteration again. This can be useful for UI-driven applications where continuous (but repeating) feedback loops are required.
Enable parallel loopingboolIf enabled, the loop will attempt to execute iterations in parallel, making use of multiple cores on the local machine, as well as any remote execution resources specified in the parallel / remote execution configuration in the Workspace settings. For more information about remote / parallel execution in Workspace, please see the parallel / remote tutorials available under the "help" menu.
Counter valueint

First iteration?CSIRO::DataExecution::Dependency

Start valueintThe value used for the first iteration of the loop. Must be less than or equal to 'End value'
End valueintThe value used for the final iteration of the loop. Must be greater than or equal to 'Start value'
Step valueint

The amount by which to step after each iteration. Can be positive or negative, but not zero.

Outputs:
DependencyCSIRO::DataExecution::Dependency