For Each
The For each action iterates over every item, for example, every basket or every shop account, and executes a defined sequence of actions for each one.
Like data retrieval actions, For each provides two output handlers:
- For each item: Defines the action that runs for every individual item.
- After all items: Defines the action that runs after all items have been processed.
| Field | Description |
|---|---|
| Step 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. |