Wait for exit Version 4 (Net)

Action group: Processes


Description

The action waits for exit.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Process identification methodDefines how to identify the process.Robin.String
Yes
Process fileThe path to the running process file.Robin.FilePath
No
Process nameName of the running process.Robin.String
No
PIDPID of the running process.Robin.String
No
Partial matchAllow partial name matching when searching for processes.Robin.BooleantrueNo
Time-outMaximum 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

  1. Assemble a robot scheme with the actions:

  2. Set the "Wait for exit" action parameters.

  3. Set the "Show message" action parameters.
  4. Click "Start" in the top panel.
  5. Close the Notepad app manually.

Result

The program robot completed successfully.

The message is displayed in the dialogue box.

  • Нет меток