# Terminate Workflow

Terminates the workflow immediately. The workflow is considered to have ended with an error and the error message is shown. This termination is not caught by **Try Catch**.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Reason`  | `String` | ❌ No     | Reason for the termination. If set, it is shown as the error message; if `Exception` is also set, it is added as the inner exception. Either `Reason` or `Exception` must be set. |
| `Exception` | `Exception` | ❌ No     | Exception that caused the termination. If `Reason` is empty, this exception and its message are used. Either `Reason` or `Exception` must be set; if both are empty, a validation error occurs. |