In this guide:
- Okta Workflows guides
- Return value to the main flow
- Related Okta Workflows guides
- Okta Workflows resources
Okta Workflows guides
Okta Workflows guides are questions and answers from the community office hours, the #okta-workflows channel on MacAdmins Slack, and other places. Read all the other guides.
Is it possible to return a value from an action that streams records in Okta Workflows?
This guide will show you options for returning a value to the main flow when processing a list in Okta Workflows.
Return value to the main flow
Streaming and the List β For Each card
The streaming option or the ListβFor Each card do 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. Creates a new list with modified items. A new list is returned to the main flow.
- The List β Reduce card process each item in a list with a helper flow. 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 Okta Workflows guides
Okta Workflows resources
π« Get help from Workflows specialists during weekly community office hours.
πΊ Learn from Workflows videos.
π Ask questions and share your flows on the Okta Workflows community forum.
ππ»ββοΈ Get help from the community: join the #okta-workflows channel on MacAdmins Slack.
Leave a comment