---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the InvokeSubFlow component

# Use the InvokeSubFlow component {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The InvokeSubFlow component returns the context ID of a subflow in Workflow Studio so you can use it in other components. For example, you can use the context ID to get the execution status or the output of a subflow.

## Before you begin

To understand more about flows in Workflow Studio, see [Building flows](https://www.servicenow.com/docs/access?context=flows&version=australia&pubname=australia-build-workflows&ft:locale=en-US).

Before you use any Flow Designer component, use the Connection Manager to make sure that you're connected to the instance. For more information about how to connect to an instance, see [Connect to an RPA Hub instance from RPA Desktop Design Studio](https://www.servicenow.com/docs/zFf8rnGV59AR6meyudykJw "Connect to an RPA Hub instance in three ways using the Connection Manager so that you can establish a connection between the RPA Desktop Design Studio and ServiceNow RPA Hub instance.").

Enable the client callable option on an RPA Hub flow or subflow. For more information, see [Enable the client callable option on a flow or subflow in RPA Hub](https://www.servicenow.com/docs/E0_kEvn8PuKzBQNfxystzw "Enable a client script to trigger an RPA Hub flow or subflow.").

Role required: fd_read role. For more information on this role, see [User access to Workflow Studio flows](https://www.servicenow.com/docs/access?context=user-access-flow-designer&version=australia&pubname=australia-build-workflows&ft:locale=en-US).

## About this task

Add the InvokeSubFlow component to get the context ID of a subflow so other Flow Designer components can check its status or obtain its output. To get the context ID of a flow, use the InvokeFlow component.

## Procedure

1. In the Toolbox pane, navigate to ServiceNowFlow Designer.
2. Drag the InvokeSubFlow component to the Design surface.
3. On the Design surface, select the Configure button ![Configure icon.]() of the InvokeSubFlow component to show the InvokeSubFlow dialog box.
4. In the Subflow name field, enter a minimum of three characters to search and select Enter.  
   A list of subflows that start with the entered characters is shown from the connected ServiceNow instance.  
   Important:  
   You can view and select only those subflows that have the application scope set to All application scopes. The application scope is set in the Accessible From field in your Workflow Studio instance. When the application scope of the subflow is set as This application scope only, the subflow isn't available in the drop-down list of the Subflow name field.
5. Select the required subflow from the search list.
6. Verify the input fields, and select OK.
7. **Optional:** Configure the properties of the InvokeSubFlow component.  
   For more information, see [Properties of the Flow Designer components](https://www.servicenow.com/docs/53Hc10jwt4HAf7oOLXvyNA "To set the properties of a Flow Designer component, double-click the component and enter the values in the Properties pane.").

   You can now connect the Context ID parameter with other Flow Designer components such as GetExecutionStatus or GetOutputs
8. **Optional:** To test the component, in the Design tab, select Run.

*[\>]: and then


