UiPath Activities

Kill Process

UiPath.Core.Activities.KillProcess

Terminates a specified process.

Properties

Target

  • ProcessName - The name of the process to be closed, written in the following format: "process". This field supports strings and string variables.

Note:

Adding the extension of the process ("process.exe") causes the activity to fail.

  • Process - A Process type object describing the process to be closed.

Common

  • DisplayName - The display name of the activity.
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Note:

If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Example of using the Kill Process activity

Here you can see how the Kill Process activity is used in an example that incorporates multiple activities.

Updated about a month ago


Kill Process


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.