Properties

Configure the Call Robot step using the following properties.

Property Description

Robot

Specify the robot to call.

Input

Provide an input value for the called robot.

The called robot can receive input values from the calling robot.

The number and types of input parameters in the called robot must match the input values provided in the Call Robot step.

Input values are read-only and cannot be modified by the called robot.

See Input and Return Types.

Devices

For the called robot, provide device mappings that comply with Device mapping rules.

  1. To connect to an automation device, select Static Reference, Dynamic Reference, or Trigger Reference. See Prepare automation devices.

    • If you select Static Reference or Trigger Reference, specify an automation device mapping.

    • If you select Dynamic Reference, specify a mapping name to use in the Connect to Device step.

      When the Dynamic Reference connection is used by the robot and the device is connected, the connection stays active and can be used by the next steps in your robot.

  2. Ensure that the number of devices specified in the Call Robot step and the robot match.

    The device names that you set in the robot can differ from those in the Call Robot step.

Databases

Specify the database mappings for the called robot. See Database mappings.

The called robot can interact with databases provided by the calling robot.

Using the Store In Database step, values stored in a database are visible in the state view when running robots in Design Studio. Also, the values are visible in the calling robot's state view.

Return Variables

Assign variables to hold the return values from the Call Robot step.

When a called robot reaches a Return step, it returns values to the calling robot.

  • The Call Step must specify variables to hold these return values.

  • The Return Variables types must match the return types defined in the called robot. See Input and Return Types.

To output values from the robot, include an Output Value step.

  • Output values serve a different purpose than return values. Return values are sent back to the calling robot as a result of executing the Call Step. Output values are used by the user, robot, or process that started the execution.

  • When running in Design Studio, values that are output using the Output Value step are visible in the state view. Also, these output values are visible in the state view of the calling robot.