OVERVIEW
This guide will show options for returning a value to the main flow when processing a list in Okta Workflows.
SOLUTION
Streaming and the List — For Each card
The streaming option or the List—For Each card does not return data to the calling flow. We recommend processing each record in the helper flow when using these options.
Return value with the List — Map or List — Reduce cards
Use the List — Map or the List — Reduce cards to return a value to the calling flow.
- The List—Map card processes each item in a list with a helper flow, creating a new list with modified items and returning it to the main flow.
- The List—Reduce card processes each item in a list with a helper flow. It reduces the list to a single value that is returned to the main flow.
Save into a table
Another option when using the streaming option or the List —For Each card is to save data into a table for each record. After you finish processing the list, you can access the data in a table and process it as needed.
RELATED REFERENCES
