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
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Robot ID | Robot ID | Robin.String | Yes | |
Timeout, ms | The 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 | ||||
Result | Dictionary with the results of the robot | Robin.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
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Start robot" action.
- Set the parameters for the "Wait for one robot to finish" action.
- Set the parameters for the "Message" action.
- 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.