Wait for exit Version 4 (Net)
Action group: Processes
Description
The action waits for exit.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Process identification method | Defines how to identify the process. | Robin.String | Yes | |
Process file | The path to the running process file. | Robin.FilePath | No | |
Process name | Name of the running process. | Robin.String | No | |
PID | PID of the running process. | Robin.String | No | |
Partial match | Allow partial name matching when searching for processes. | Robin.Boolean | true | No |
Time-out | Maximum waiting time. If the process did not terminate after the timeout, an error will be thrown. | Robin.Numeric | No |
Special conditions of use
If the process has not completed after the timeout expires, an error will occur.
Example of use
Task
Notepad application is started, wait for it to exit and display a dialog box with the message "Work in Notepad is completed".
Solution
Use the "Wait for exit", "Show message" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Wait for exit" action parameters.
- Set the "Show message" action parameters.
- Click "Start" in the top panel.
- Close the Notepad app manually.
Result
The program robot completed successfully.
The message is displayed in the dialogue box.
Обзор
Инструменты контента