Workspace 6.21.5
|
The WhileLoop operation, similar to the CountedLoop operation, provides Workspace with a mechanism of repeatedly executing a "loop" of sub-components of a workflow. As long as the "Keep looping" input condition is true, the operation will repeatedly execute the "loop" of downstream operations. The "loop" is the set of operations between the Iteration dependency output and the Iteration dependency input. See also: Executing a loop
Inputs: | |||
---|---|---|---|
Enable loop | bool | If enabled, the loop will repeatedly execute downstream operations that are between its "Iteration dependency" output and its "Iteration dependency" input. If not enabled, the loop will not execute any of these operations. | |
Keep looping | bool | While this condition is true, the "loop" will continue to execute. | |
Iteration dependency | CSIRO::DataExecution::Dependency | Special dependency input that marks the end of the loop. The last downstream operation that is to be executed as part of the loop must be connected to this input. | |
Outputs: | |||
Iteration dependency | CSIRO::DataExecution::Dependency | The first operation inside the loop should be connected to this output. | |
First iteration? | bool | Returns true if this is the first iteration of the loop; false otherwise. |