Basic Information

appmixer.utils.controls.Each

1.5.0

Public

Loops over the incoming list and outputs a new message for each item. Turn on 'Sequential' and end the loop with the 'Continue Each' component to process the items strictly one at a time, in order, and to collect a 'Result' from every item for the 'done' branch.

Properties

FieldTypeDescription
No properties defined

Input Ports

in

FieldTypeDescription
Field text Select list you want to iterate.
Delay number Delay between items in milliseconds. In sequential mode it is an extra pause before each next item.
Sequential toggle Send the next item only after the previous one has been fully processed. Use it when the order of the items matters and the steps after this component take a varying amount of time - otherwise faster items overtake slower ones. Requires the 'Continue Each' component at the end of the loop: connect it after the last step that has to finish before the next item starts, and map the 'Correlation ID' and 'Index' of this component to it. Values that 'Continue Each' adds to the result are available as 'Result' on the 'done' port once the loop is over.
Item Timeout (seconds) number How long to wait for 'Continue Each' to confirm an item. If the confirmation does not arrive in time (a step failed, or a Condition filtered the item out before 'Continue Each'), the loop moves on to the next item instead of stopping. Set it safely above the longest time one item can take. Minimum 60 seconds.

Output Ports

item

done

FieldTypeDescription
Items Count -
Correlation ID -
Result -

Full Metadata