Wait for one robot to finish Version 3

Action group: Robot management


Description

The action waits for one robot to finish, and it is possible to launch a robot and pass it not only the input parameter as a dictionary, but also receive the output parameter "Dictionary" from it, so that data can be passed by a robot that launches another robot.

Action icon

Parameters

Input parameters

Robot ID

Timeout, ms - Limit time to wait for a response from the agent that the robot is finished. It is measured in milliseconds. If "-1" is specified, the action waits indefinitely for a response from the agent.

Output parameters

Result

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Robot IDRobot IDRobin.String
Yes
Timeout, msThe maximum time to wait for a response from the agent about the completion of the robot. Measured in milliseconds. If «-1» is specified, the action waits for a response from the agent indefinitely.Robin.Numeric
Yes
Results
ResultDictionary with the results of the robotRobin.Dictionary

Special conditions of use

If the robot is not completed within the specified waiting time, display an error with the robot ID and name.

Example of use

Task

Wait for the robot running locally to terminate and, afterwards, display a dialog box with the message "Robot terminated". 

Solution

Use the action "Start robot", "Wait for one robot to finish", "Message". 

Implementation

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "Start robot" action. 
  3. Set the parameters for the "Wait for one robot to finish" action. 

  4. Set the parameters for the "Message" action. 



  5. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. 

A dialog box about the success of the robot termination is displayed. 

  • Нет меток