Basic Information

appmixer.utils.controls.ContinueEach

Continue Each

1.0.0

Public

Ends one pass of a sequential Each loop. Place it after the last step that has to finish before the next item starts: it tells the Each component (with 'Sequential' turned on) that the current item is done, so Each sends the next one. This keeps the items in order even when the steps in the loop take a varying amount of time. Optionally add named values to the result - Each emits one entry per item as 'Result' on its 'done' port once the loop is over.

Input Ports

in

FieldTypeDescription
Correlation ID text Select the 'Correlation ID' variable of the Each component whose loop this component ends. It identifies the loop, so nested Each loops each need their own Continue Each.
Index number Select the 'Index' variable of the same Each component. It identifies the item that is done, so a repeated or late confirmation of another item is ignored.
Add to Result expression Named values to collect from this item, for example the ID of a record created in the loop. Every item adds one entry to the 'Result' list that the Each component emits on its 'done' port once all items are processed, in item order: an object with one field per row, e.g. {"id": "1001", "status": "created"}. A value that is empty for an item is added as null. An item skipped after 'Item Timeout' is null as a whole. Leave empty if you do not need to collect anything.

Output Ports

out

FieldTypeDescription
Correlation ID string -
Index integer -

Full Metadata