Adding and using subflows
You can add subflows using the Subflow and Return steps.
Step 1: Add and publish the subflow
- Open or create the flow that you want to use as a subflow.
- On the flow canvas, insert and link a Return step
at the point that you wish the subflow to rejoin the parent flow.
- Run/publish the subflow so that it becomes available for selection as a subflow.
Step 2: Add and configure the parent flow
-
Open or create the parent flow that you want to link to the subflow.
-
On the flow canvas, insert a Subflow step
at the point that you wish the subflow to rejoin the parent flow.
-
Name: Enter a name for the Subflow step.
-
Subflow Type: Select how you wish to link to the subflow:
-
Predefined: Select the subflow from the Select a flow to run as a subflow list of published subflows. For example, select the subflow created in step 1.
-
Value: Select/create a string value that has the A default applied to this Value value set to the Flow ID of the published flow that you want to use as a subflow. Note that only public values, and matching values used in both the parent flow and subflow are automatically passed with this option. Specific Input/Output values cannot be selected.
-
-
Auto match all value arguments: If you are passing values between the parent flow and the subflow, select this checkbox to automatically add and pass values that are present in both flows.
-
Input Values: Select any values that you want to pass into the subflow.
-
Output Values: Select any values that you want to return into the parent flow.
-
Input Output Values: Select any values that you want to both pass and return between the parent flow and the subflow. See Passing values using subflows.
-
Public: Any values defined as 'Public' access type that are automatically passed between a parent flow and subflow are displayed here.
-
-
Click Save to save the parent flow.
-
Link the Subflow step on the flow canvas as required.
-
Run or publish the flow as required. See Publishing and subflows.