Activities
latest
false
Kill Process - Other latest
Banner background image
logo
Workflow Activities
Last updated 23 févr. 2024

Kill Process

UiPath.Core.Activities.KillProcess

Terminates a specified Windows process.

Properties

Common
  • 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.
  • DisplayName - The display name of the activity.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Target
  • AppliesTo - Kill process only if it belongs to the current user, session, or desktop. Select one of three options: All, OnlyCurrentUser, OnlyCurrentSession, OnlyCurrentDesktop. The default value is none.
  • Process - A Process type object describing the process to be closed.
  • 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.

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.

  • Properties
  • Example of using the Kill Process activity
Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.