The If Process Running action is used to set up conditional steps that will be performed only if a specified process is in a specified state.
When you create an If Process Running step, an End If step is created automatically. Place the steps to be preformed if the condition is met between the If Process Running step and the End If step. The steps within the block should be indented for visual clarity.
From the Task Builder Available Actions pane, open the Flow folder and double-click the If Process Running action or drag it into the Steps pane.
Select Process is running or Process is not running.
Process, select Use
Process name or Use process ID.
Then specify the process in the applicable box. You can use wildcard characters
asterisk (*) or question mark (?).
To enter a process name, you can select from the drop-down list of all currently running processes or use the Open Folder button to navigate to the .exe file.
To populate a dataset with process and window data, enter a name for the dataset in the Create and populate dataset box. (Dataset names must be alphanumeric, begin with a letter, and contain no spaces.)
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.
In the Task Builder Steps pane, hold down SHIFT and click the first and last steps in the block so that the complete block of steps is selected.
Click the Format button .
Adding Task Steps
If Process Running Action
End If Action-Properties