Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

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

Image Added

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:
    Image Added
  2. Set the parameters for the "Start robot" action. 
    Image Added
  3. Set the parameters for the "Wait for one robot to finish" action. 
    Image Added
  4. Set the parameters for the "Message" action. 

    Image Added

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

Result

The program robot completed successfully. 

Image Added

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

Image Added

Ожидать окончания одного робота Версия 3

Группа действий: Управление роботами

Описание

Действие ожидает окончания работы одного робота, при этом есть возможность запустить робота и передать ему не только входной параметр в виде словаря, а  также получать от него выходной параметр "Словарь", чтобы можно было передавать данные роботом, который запускает другого робота.

Иконка действия

Image Removed

Параметры

Входные параметры

Идентификатор робота

Тайм-аут, мс - Предельное время ожидания ответа от агента о завершении работы робота. Измеряется в миллисекундах. Если указано "-1", действие ждет                                                           ответа от агента бесконечно долго.

Выходные параметры

Словарь

Настройки

...

Свойство

...

Англ. наименование

...

Описание

...

Тип

...

Robot ID

...

Особые условия использования

Если робот не был завершен в пределах заданного времени ожидания, то отображать ошибку ,в которой будет указан идентификатор и имя робота.

Пример использования 

Задача

Ожидать окончания работы робота, запущенного локально и, после, вывести диалоговое окно с сообщением "Робот завершил работу". 

Решение

Воспользоваться действием "Запустить робота", "Ожидать окончания одного робота", "Сообщение". 

Реализация

...

Результат:

Программный робот отработал успешно. 

Image Removed

Отображено диалоговое окно об успешности окончания работы робота. 

Image Removed