For Each

Process a list by calling a child Flow for each item.

Go back to the For Each card,  input the list you want to use, and then select the Flow you just built. The inputs will auto-populate, then you can map data into them. To map an input to accept each item of the list, click in that field and you will see a dropdown that includes item - select that. Or if your list is a list of objects, you may also see the schema of the object, i.e. the keys that it contains, and you can choose to have your child Flow to accept those as inputs. In addition, you can drag in outputs from previous cards in the Flow, in which case the same value will be used for each item in this list.

Input Fields

  • list: The list to operate on

  • flow:  The child Flow that will be called once for each item in the list

  • with the following values (dynamically generated):  The inputs defined by the child Flow - these will populate when you select the child Flow using the Choose Flow dialog

  • concurrency:  The number of items in the list to process in parallel.  If it is important that the items are processed in sequence, use 1.  Otherwise a higher number like 5 or 10 will cause your Flow to complete sooner.

See Also

About lists


About the elements of Okta Workflows