For Each
The For each action iterates over every item in a batch, for example, every basket or every shop account, and executes a defined sequence of actions for each one.
Like batch retrieval actions, For each provides two output handlers:
- Repeat for each item: Defines the action that runs for every individual item in the batch.
- After last item: Defines the action that runs after all items in the batch have been processed.
| Field | Description |
|---|---|
| Action name | A descriptive name for this action. You can use the default name or enter your own. |
| Items variable | The variable that contains the list of items to iterate over, for example, a batch of baskets. |
| Current item variable | The name of the variable that will hold the current item during each iteration. You can use the default name or enter your own descriptive name. |