Use the InvokeFlow component
Invoke or call a flow that is available in Workflow Studio by using the InvokeFlow component of RPA Desktop Design Studio. Generate the context ID of the flow and use the ID in other flow designer components to get the execution status and output.
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, Connect to an RPA Hub instance from RPA Desktop Design Studio.
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.
Role required: fd_read role. For more information on this role, see User access to Workflow Studio flows.
About this task
The InvokeFlow component returns the context ID of a flow 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 flow.
Add the InvokeFlow component to get the context ID of a flow so other Flow Designer components can check its status or obtain its output. To get the context ID of a subflow, use the InvokeSubFlow component.