# Wait For Process To End

> Waits for a specified process to exit before proceeding.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/wait-for-process-to-end/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Waits for a specified process to exit before proceeding. This can be useful in scenarios where you need to ensure that a particular application or service has completed its tasks before moving on to the next step in your workflow.

## Parameters

#### Process Name
*Required*

Name of the process to wait for (e.g., chrome.exe).

#### Timeout
*Required* — Default: `60`

Maximum time to wait for the process to exit (in seconds).

#### Check Interval
*Required* — Default: `10`

Interval in seconds between checks for process status.

## Details

- **Category:** System
- **Brick ID:** `System-Wait-For-Process-To-End`

## Raw JSON definition

**JSON**

```json
{
  "category": "system",
  "description": "Waits for a specified process to exit before proceeding. This can be useful in scenarios where you need to ensure that a particular application or service has completed its tasks before moving on to the next step in your workflow.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "System-Wait-For-Process-To-End",
  "name": "Wait For Process To End",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Name of the process to wait for (e.g., chrome.exe).",
      "id": "Process_Name",
      "name": "Process Name",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "60",
      "defaultValueObject": null,
      "description": "Maximum time to wait for the process to exit (in seconds).",
      "id": "MaxTimeOut",
      "name": "Timeout",
      "regExValidation": "",
      "required": true,
      "type": "Integer",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "10",
      "defaultValueObject": null,
      "description": "Interval in seconds between checks for process status.",
      "id": "CheckInterval",
      "name": "Check Interval",
      "regExValidation": "",
      "required": true,
      "type": "Integer",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "RnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
