Pass a variable from a workflow to a subflow
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Workflow
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
Use this process to pass variables from a parent workflow to a subflow.
Before you begin
About this task
Note: You can also use the Return Value activity in the
subflow to return values to the parent workflow. Make sure to have a
Return Value on every ending transition path.
Procedure
Define inputs for a subflow
Define the input variables for a workflow to request from parent workflows when it is launched as a subflow.
About this task
All inputs are stored in the Variables [var_dictionary] table.
Procedure
- In the editor, open and check out the workflow.
- In the title bar, click the menu icon and select Edit Inputs.
- In the Workflow Inputs window, click New.
- Populate the record with the definition of the variable, including the column name, the label that is displayed to the user, and the type of field.
- Click Submit.
Invoke a subflow in a workflow
Use this procedure to add a subflow to a workflow.