Run Flows For List Step
  • 10 Sep 2024
  • 1 Minute to read
  • Dark
    Light

Run Flows For List Step

  • Dark
    Light

Article summary

Step Details

Introduced in Version---
Modified in Version9.3
Location
  • Flow Management > Iteration
  • System > Advanced

The Run Flows for List and Run Flows for List [Batch Processing] steps process a list of items from a defined data type and execute a distinct Flow for each item. This functionality is similar to the For Each step. However, in this case, it triggers a separate Flow for each item in the list.

For example, this could be employed to extract a list of email addresses from the account data type and execute a specific action for each email address in the list.

Note:
Run Flows for List and Run Flows for List [Batch Processing] steps exhibit identical behavior.

Properties

Data

PropertyDescriptionData Type
Input TypeAllows you to pick the data type---
Output TypeDefines the output data type for the step. This will return the list of results received from the Flow.---


Flow

PropertyDescriptionData Type
EDIT FLOWAllows the user to edit the Flow for the step---
Run Behavior---

SynchronousRuns in real-time on the current Flow or Thread. Similar to how in-session forms display to the current user immediately---

ThreadJobRuns synchronously but uses multiple threads on the machine to execute faster---

WorkQueueRuns Flow across multiple queues---

ThreadJobAsyncRuns the Flow Async and doesn't wait for any return data---

AsyncAndWaitRuns the processes and pauses the parent Flow until the step has finished executing all of the items in a list---

System ThreadsRuns the process through Threads that are outside of the Thread Job Queue. The work will be split evenly across all threads.---
Queue NameDefines the name of the queueString
Thread CountDefines the number of threads the step will utilizeInt32
Expose All Flow DataPasses all Flow data to the parent FlowBoolean
Specify Timeout (v9.3+)Allows the user to set an amount of time that after which the step will stop functioning. This is useful to prevent situations where the step runs infinitely. This option is only available if the Run Behavior is set to ThreadJob or AsyncAndWait.Boolean


Related Information

Forum Posts:
Using the 'Run Flows For List' Step
Debugging A Run Flows For List Step

Projects:
Running Steps Asynchronously with the Go Async Step


Feature Changes

DescriptionVersionRelease DateDeveloper Task
Added in the "Specify Time-out" setting.9.3September 2024[DT-042191]

Was this article helpful?

What's Next