The Wait for Process action is used to pause a task until a specified process begins or ends. Note that the Run action includes options to wait for the application to start or end. The Wait for Process action is generally only needed if the process is started by an external application or by the user.
Optionally you can populate a dataset with the process data.
From the Task Builder Available Actions pane, open the Wait folder and double-click the Wait for Process action or drag it into the Steps pane.
Select Wait for process to start or Wait for process to end.
Under Process, do one of the following:
Select Use process name and enter or select
the executable for the process to wait for. You can enter the full path
or the application name only. The drop-down list contains all currently
running processes. You can also enter the process by clicking the Open Folder button and navigating to the application.
Select Use process ID and enter the process ID in the box. You can click the Insert Expression/Variable button and use the Expression Builder to enter a variable.
To populate a dataset with the process data, enter the name for the dataset in the Create and populate dataset box. (Dataset names must be alphanumeric, begin with a letter, and contain no spaces.) The dataset will include the file name, process ID, and handle.
If you want to use a custom description, click the Description tab, select Use custom step description, and type the description. This description will display in the Steps pane in place of the default description.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Wait for Process Action