Use the GetProcessParameters component
Get the values of a process parameter you had set for a bot process in RPA Hub with the GetProcessParameters component in the RPA Desktop Design Studio. The component returns both the individual values of the parameters and all values as an object.
Before you begin
Set at least two process parameters as part of a bot process on the RPA Hub. See Create a process parameter within a bot process in RPA Hub.
Assign the automation to the bot process by using the Assign bot process option from the Design tab of RPA Desktop Design Studio. You must set the same bot process and robot associated with the process parameter. For more information, see Assign bot process to an automation project.
Role required: none
About this task
You can configure the properties for the GetProcessParameters component. For more information about these properties, see Properties of the Process Parameters components.
Procedure
In the Toolbox pane, navigate to RPA Hub > Process Parameters.
Drag the GetProcessParameters component to the Design surface.
Click the component settings icon (
Component settings icon.\).
- Click the add key icon (
Add key icon.\).
Enter the name of one of the process parameters.
A Data In port is created.
Update the process parameter data type.
Repeat the steps to add more parameters.
Click OK.
Connect the data and control ports of the GetProcessParameters component to the corresponding ports of other components as described in the following table.
Port type Purpose of connection Mandatory? Data Out (Parameter) Returns the value of an individual process parameter and passes to the next component. Yes Data Out (Object) Returns the values of process parameters you had set in the component as an object and passes to the next component. Yes Control In Connect to the Control Out port of one or more components. Yes Control Out Connect to the Control In port of another component or the default end component. Yes To test the component, under the DESIGN tab, click Run.
Parent Topic:Process Parameters