Run Flows in Cluster
  • 04 Mar 2024
  • 1 Minute to read
  • Dark
    Light

Run Flows in Cluster

  • Dark
    Light

Article summary

Step Details
Introduced in Version9.0.0
Last Modified in Version9.0.0
LocationFlow Management > Iteration

Run Flows in Cluster has all the functionality of the Run Flows for List step, but can disperse the work load across nodes in a cluster.

Prerequisites 

This step requires the use of Clusters. It is also only available in v9+.


Properties

When configuring the Batch Size setting chose what is best for the environment this Step is being used on. Setting the number high means there will be fewer calls to Redis, but it will take longer for the sub-flows to begin running. Setting the number low means that there will be many calls to Redis. 

For instance having 2000 items on the list and a Batch Size of 50 would mean 40 calls would be made to Redis.

For Workers on Each Node it is possible to overwhelm the a node with high resource Flows. If Flows are particularly complex and resource intensive, it is best to keep the number low. However if the Flows are simple the Worker number can be set higher. 

Cluster Settings

PropertyDescriptionData Type
Batch SizeThe amount of pieces of data on the list that will go through the Step, and calls made to Redis, at a time.N/A
Workers on Each NodeThe number of Flows each node can run at a given time.N/A
Times OutHow much time without any activity the step will wait until the Flow fails.N/A
Stop Execution on First FailThe rest of the list will not run once a failure has occurred.N/A

Data

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

Outputs

PropertyDescriptionData Type
Error MessagesA list of all error messages produced if there are failures.List of String
Failed ItemA list of the items that did not complete.List of


Step Changes

DescriptionVersionDateDeveloper Task
Introduced 9.0March 24, 2024DT-039341

Was this article helpful?