Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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.

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.

Use the GetExecutionStatus component to know the execution status of the flow or subflow. To use the component, see Use the GetExecutionStatus component.

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.

  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 typePurpose of connectionMandatory?
Data In \(Context ID\)Receives a context ID from the InvokeFlow, InvokeSubFlow, or InvokeAction componentYes
Data Out \(Return\)Returns the output of the flow, subflow, or action and passes it to the next componentYes.To view the output, right-click the Return field and click Preview Data.
Control InPasses the control from the previously executed component.Yes
Control OutPasses 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**.
  1. To test the component, under the DESIGN tab, click Run.

Parent Topic:Flow Designer components