Home > Forum > User Voice > Feature Request: Allow “Add item list rows” action inside a For each action

Feature Request: Allow “Add item list rows” action inside a For each action
0

Currently, the Add item list rows action is not available inside a For each action.

This limits scenarios where data is processed iteratively and the result of each processed item should be stored in an Item list.

A typical use case is processing records returned by a REST data source:

A For each action iterates over the returned records.
Business logic decides individually whether a record should actually be processed.
For successfully processed records, a workflow may be created or another operation executed.
After successful processing, information about this specific record should be added to an Item list, e.g. external ID, created workflow ID, timestamp and processing result.

Currently, Add item list rows can be used outside the For each action, but not within it.

Moving the Item list action outside the loop is not an equivalent workaround. It would require querying the data source again and duplicating the filtering/business logic. In case of an external REST data source, the returned data could also have changed between both calls.

It would therefore be useful to make Add item list rows available inside For each, allowing one row to be added using values from the current iteration.

Nobody has replied in this thread yet.