Pass a variable from a workflow to a subflow

Use this process to pass variables from a parent workflow to a subflow.

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

  1. Prepare the subflow to accept variables from the parent workflow by defining the inputs.
  2. Include the subflow in the parent workflow and connect the inputs to the parent workflow variables.
    Note: Subflows on the Requested Item [sc_req_item] table in the Service Catalog cannot accept variables from parent workflows.