If Process Running—Setting Properties

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.

To set If Process Running properties

  1. 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.

  2. Select Process is running or Process is not running.

  3. Under 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.

  4. 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.)

  5. To set the Description tab properties, refer to Description Tab Options.

  6. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  7. When finished, click OK to save settings and close the properties dialog window.

To auto-indent after all steps are added

  1. 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.

  2. Click the Format button .

See Also

About Actions

Adding Task Steps

If Process Running Action

End If Action-Properties