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 in the Toolbar 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

  1. In the Toolbox pane, navigate to RPA Hub > Process Parameters.
  2. Drag the GetProcessParameters component to the Design surface.
  3. Click the component settings icon (Component settings icon.).
  4. Click the add key icon (Add key icon.).
  5. Enter the name of one of the process parameters.
    A Data In port is created.
  6. (Optional) Update the process parameter data type.
  7. Repeat the steps to add more parameters.
  8. Click OK.
  9. Connect the data and control ports of the GetProcessParameters component to the corresponding ports of other components as described in the following table.
  10. (Optional) To test the component, under the DESIGN tab, click Run.