Update the value of a specific shared parameter that you had set for multiple bot processes on the RPA Hub by using the SetSharedParameter component in the RPA Desktop Design Studio.

Before you begin

Set at least one shared parameter and associate multiple bot processes on the RPA Hub. For more information, see Create a shared parameter in RPA Hub and Assign a bot process to a shared parameter in RPA Hub.

Assign the automation to the bot process by using the Assign bot process option in the Design tab of RPA Desktop Design Studio. For more information, see Assign bot process to an automation project.

Role required: none

About this task

You can configure the properties for the SetSharedParameter component. For more information about these properties, see Properties of the shared parameters.

Procedure

  1. In the Toolbox pane, navigate to RPA Hub > Shared Parameters.
  2. Drag the SetSharedParameter component to the Design surface.
  3. To configure the input fields, see Configure port properties.
  4. Connect the data and control ports of the SetSharedParameter component to the corresponding ports of the other components.
    Port type Purpose of connection Mandatory?
    Data In (Name) Takes the name of the shared parameter that you had set for bot processes in the RPA Hub from a previously executed component. Yes.

    To pass the variable name, double-click the Name field and enter the variable name.

    Data In (Value) Takes the new value of the shared parameter that you had set for bot processes in the RPA Hub from a previously executed component. Yes.

    To pass the variable value, double-click the Value field and enter the value.

    Data Out (Return) Returns the Boolean response to whether the existing shared parameter value was replaced and passes to the next component. Yes.

    To view the output, right-click the Return field and select Preview Data.

    Control In Connects to the Control Out port of one or more components. Yes
    Control Out Connects to the Control In port of another component or the default end component. Yes
  5. (Optional) To test the component, under the DESIGN tab, click Run.