Process Exists

The Process Exists action determines if a specific process is running. The action checks for the process name to see if it exists on the current machine. It does not change the process state or identify if the process is running.

Note: The Actions Quick Reference provides a complete list of actions that you can print for easy reference.

Create a Process Exists action

  1. Ensure that the user who will be running this action is a local administrator and the bot is running as an administrator.

  2. If you do not already know the exact name of the process, find it.

    1. Open the Task Manager on the computer.

    2. On the Processes tab, right-click on the process and select Properties.

    3. Identify the Process name at the top of the Properties window.

  3. In Nintex Bot, on the Actions list, click Computer and select Process Exists.

  4. Enter the Process name (not the display name). Optionally, click the Magic Wand to use the Expression Builder.

  5. In the Save to field, enter the variable to store the result. Optionally, click the Magic Wand to use the Expression Builder.

  6. If needed, adjust the Run error task settings to fine tune how the action runs.

    • Run error task: A botflow containing an error task automatically runs the error task in the event of an error. If the botflow does not contain an error task, the botflow stops in the event of an error.
    • Stop on error: The botflow stops in the event of an error.
    • Ignore errors: The action is skipped in the event of an error and the botflow attempts to execute the next action.
  7. (Optional) Add a Note to document special instructions or functionality.

  8. Toggle the run switch to Run and click OK to execute and save the action.

  9. Note: The run switch is set to Run by default. To create or modify this action without executing it, click the slider to change the option to Don't Run.  For more information, go to Action Builder.

When the action is executed, Nintex Bot checks for the process by entering the process name.