parallelFor - parallelForEnd Step

Last published at: May 3rd, 2021

Description:

The parallelFor step lets you iterate over a bunch of steps; the workflow will dynamically grow at runtime based on the keys provided within the step configuration. Steps must be placed between the parallelfor step and the parallelforend step as shown below in the diagram.

Inputs

  • varKeys – list of keys comma separated ex: 1,2,3
  • varName – name of the variable to hold the key  ex: variable.key

Returns

  • True – step executed successfully
  • False – step failed to execute 

The parallelForEnd step lets you define the end marker step.

Inputs

  • None

Returns

  • None

Usage:

Example:

Let’s build and execute the parallelFor-parallelForEndDef example.          

  • Create a new definition called “parallelFor-parallelForEndDef
  • Select the definition and click the “design” button
  • Drag the above shown steps and connect them together
  • Once executed, the workflow will automatically grow to have the # of paths based on the # of keys as shown below.