Pass a variable from a workflow to a subflow
Use this process to pass variables from a parent workflow to a subflow.
始める前に
このタスクについて
注:
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.
手順
Define inputs for a subflow
Define the input variables for a workflow to request from parent workflows when it is launched as a subflow.
このタスクについて
All inputs are stored in the Variables [var_dictionary] table.
手順
- 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.