Looping with an action block

This demo shows how to create a loop of submissions by using a action block and the fx-dispatch action.

The action block 'deployment' is called 6 times in this example and is triggered by the 'start checking' button initially. This will call the submission which upon its completion will dispatch a custom event "check-done" to the action block.

Within the action we increment a counter, which is then used to check whether we're done or have to call the submission again.