Kill Process

Terminates a system process by name or ID.

Behaviour

Risk: High · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.killProcess

Properties#

Input#

Process Name#

ProcessName · String · Optional · Default: Not specified in package metadata

Name of process to terminate (without .exe).

Process ID#

ProcessId · Int32? · Optional · Default: Not specified in package metadata

PID of process to terminate.

Process#

Process · Process · Optional · Default: Not specified in package metadata

A process from Get Processes or Start Process to terminate.

Applies To#

AppliesTo · String · Optional · Default: CurrentSession

By name: only this Windows session's processes, or every session's (needs the rights to end other users' processes).

Allowed values: CurrentSession, AllSessions.

Rules#

  • Set only one of: Process Name, Process ID, Process.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: System. Keywords: process, kill, terminate, close, end task.

Properties

Input

Rules

Retry and risk

Related activities