workflow-iterate
A simple iteration directive that allows the user to specify the number of times the workflow should be executed.
The directive workflow-iterate indicates to Flow's orchestrator the number of times the workflow should be executed before it stops.
The presence of this directive in a spreadsheet marks it as an iteration spreadsheet. A given workflow can only have one iteration spreadsheet. The iteration spreadsheet is executed by the orchestrator. The iteration pebble is executed before every workflow execution including the very first execution.
pebblestream:workflow-iterate:10This will execute the workflow 10 times before stopping. On each iteration the whole input set will be resubmitted unless workflow-filter is applied.
This directive is not compatible withworkflow-terminateDo not place this directive in the same spreadsheet as
workflow-terminate
Currently, the number of iterations is hard coded. In a future release the number of remaining iterations could be derived from a cell reference.
If the pebbler wants more control over the number of remaining iterations, use workflow-terminate.
Download the example below.
Updated 20 days ago

