Terminate Application
Stop/terminate/kill a running application process using its process ID (PID) or process name.
Category: Desktop Application Automation · Group: General · Activity name: TerminateApplication

Example
outputVariable = TerminateApplication("<processIdentifier>", forceTerminate=True)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Process Identifier or Process Name | string | Yes | Process ID (PID) or process name of the application to terminate. Use PID for precise control or name to match multiple instances. | |
| Force Termination | boolean | Forcefully terminate the process if graceful shutdown fails (use with caution as unsaved data may be lost). |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | boolean | Returns true if the process was successfully terminated, false if the process was not found or could not be stopped. |