Skip to main content
Series Control Step

The Series Control step is used to run a set of subflows in a consecutive/synchronous manner.

Praise Magidi avatar
Written by Praise Magidi
Updated over a year ago

Illustrated in the below image is an example of a flow of how the Series Control step is used.

The Series has three Subflows. Each Subflow has a different destination step. This will not impact the order the subflows will run.

A Buffer source step is used to start the flow. The image below shows the data in the Buffer source step.

Adding the Series Control step

To add a Series Control step in a flow, follow the below instructions:

1. Click on the highlighted icon as shown in the below image.

2. The below page will appear. Select or search for a Control step. Click on the Control tab and select Series as shown in the image below.

Configuring a Series Control step

Provide a title and description (optional). Once saved, open the control step to access more configuration options as shown in the image below.

The Swap Control Step is used to swap to another Control step. The Series Control step can be swapped with the Parallel or Condition Control steps.

Using the Series Control Step

To add a Subflow in the Series step, click on the plus icon shown in the below image. A Subflow will be added with each click. To edit each Subflow in the Series, click on the highlighted button in the image below.

The below page will appear. The Break on Error checkbox will break on any errors in the Subflow when selected. The Record by Reference section checkbox will pass the record by reference instead of creating a copy when selected.

Illustrated in the below image is the Calculator step for the first Subflow. This Subflow has been set as first in the series as shown.

The below image shows the Calculator step for the second Subflow. This Subflow has been set as second in the series as shown.

The below image shows the Calculator step for the third Subflow. This Subflow has been set as third in the series as shown.

The image below shows the outcome after the Series step. The order of the calculations is shows that the flows were run in the set order.

Subflows can also be ordered in the Series step itself by following these steps:

1. Click on the button edit button in the step as highlighted in the image below.

2. Drag the Subflows up or down to set the desired order.

3. Save the control step.

Additional information

Returns

The options below let you define how you want the data to be returned from the Sub-flow. To access Returns, click on the Returns button as shown illustrated in the image below.

Return Type

Select the option type you want the Sub-flow value to be returned as one of the following:

  • None - No return. This is equivalent to void in traditional programming.

  • Current - The default of the subflow being called.

  • Array - Converts the output to an array.

  • Object - Converts the output to an object.

  • String - Converts the output to a string.

  • Binary - Converts the output to a binary representation.

  • Base64 - Converts the output to base64.

Return Source

Selects what value types to return from the flow you are calling.

  • Auto - Auto detects the appropriate output.

  • Record - Returns the current record processed by the subflow.

  • Output - Returns the output of the Writer Step (if any) in the subflow.

  • Result - Returns the output of the Destination Step (if any) in the subflow.

Did this answer your question?