--- title: Use the GetOutputs component description: Use the GetOutputs component to get the output of a flow or a subflow in Workflow Studio. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/use-rpahub-flowdesigner-getoutputs.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Flow Designer components, ServiceNow, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric] --- # Use the GetOutputs component Use the GetOutputs component to get the output of a flow or a subflow in Workflow Studio. ## Before you begin To understand more about flows in Workflow Studio, see [Building flows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/flows.md). 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/connect-studio-instance-rpa.md). Use the GetExecutionStatus component to know the execution status of the flow or subflow. To use the component, see [Use the GetExecutionStatus component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/use-rpahub-flowdesigner-getexecutionstatus.md). Role required: none ## About this task There are many reasons why you might want to receive the output of a flow. For example, suppose you have an automation that includes an incident number, and you want to obtain the incident’s description. You can use Workflow Studio to create a flow that takes the incident number as input and returns the description. Then, in RPA Desktop Design Studio, you can invoke the flow using the InvokeFlow component and send its context ID to the GetOutputs component to get the output, including the incident description. ## Procedure 1. In the Toolbox pane, navigate to **ServiceNow** > **Flow Designer**. 2. Drag the GetOutputs component to the Design surface. 3. Configure the component properties by using the Properties pane. For example, you can configure the component to include a timeout or a delay before the component executes. For more information about these properties, see [Properties of the Flow Designer components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/properties-flow-designer-components.md). 4. Connect the data and control ports of the GetOutputs component to the corresponding ports of the other components as described in the following table.
Port type Purpose of connection Mandatory?
Data In \(Context ID\) Receives a context ID from the InvokeFlow, InvokeSubFlow, or InvokeAction component Yes
Data Out \(Return\) Returns the output of the flow, subflow, or action and passes it to the next component Yes.To view the output, right-click the **Return** field and click **Preview Data**.
Control In Passes the control from the previously executed component. Yes
Control Out Passes the control to the next component to be executed. No. Connecting this port is optional.
To view the output in RPA Desktop Design Studio, right-click the **Return** field and select **Preview Data**. 5. To test the component, under the **DESIGN** tab, click **Run**. **Parent Topic:**[Flow Designer components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/flow-designer-components.md)