Use the Terminate component

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • End the specified Windows system process by using the Terminate component in RPA Desktop Design Studio.

    Avant de commencer

    Role required: none

    Pourquoi et quand exécuter cette tâche

    You can configure the properties for the Terminate component. For more information about these properties, see Properties of the System Process components.

    Procédure

    1. In the Toolbox pane, navigate to Utilities > System Process.
    2. Drag the Terminate component to the Design surface.
    3. To configure the input fields, see Configure port properties.
    4. Connect the data and control ports of the Terminate component to the corresponding ports of the other component as described in the following table.
      Parameter Description Port type Mandatory?
      ProcessId The process ID of the process to terminate. You can pass this value from a previously executed component. You can get the processId by opening the Task Manager on your Windows machine.
      Example:
      ProcessId of Services.exe: 660
      Data In Yes
    5. Facultatif : To test the component, under the DESIGN tab, click Run.

    Exemple

    As part of your automation workflow, after you have opened an app, such as Windows Terminal and ran a command on it, you can terminate the app by providing the process ID in the Terminate component.Terminate component in a simple workflow showing ProcessId as parameter.