List Get Next Item
Gets the next item from a list each time the action runs.
Use this to iterate through a list over multiple action calls or states.
| Parameter | Description |
|---|---|
| List | The list variable to read from. |
| Current Index | Optional index variable tracking the current position. Set to 0 to restart from the beginning. If omitted, the action uses an internal counter. |
| Get Next Item | Output variable that stores the next item. Must match the list item type. |
| Loop Event | Optional event sent after an item is returned. |
| Finished Event | Optional event sent when the end of the list is reached. If this is not set, the action loops back to the first item. |
Notes
- Prefer For Each List Item when you need more control over iteration flow and per-item logic.
- If the list is empty, the action sends Finished Event (if set) and exits.
- When the index reaches the end, it resets to 0.