# Error handling in PS

**URL:** <https://community.automationedge.com/t/error-handling-in-ps/17504>\
**Category:** Process Studio\
**Created:** [February 5, 2026, 6:32am UTC](https://community.automationedge.com/t/error-handling-in-ps/17504 "2026-02-05T06:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohanb](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rohanb](https://community.automationedge.com/u/rohanb)\
**Post date:** [February 5, 2026, 6:32am UTC](https://community.automationedge.com/t/error-handling-in-ps/17504/1 "2026-02-05T06:32:47Z")

</div>

Ways to handle exception in process studio?

---

<div class="post-metadata">

**Author:** ![AETrainings](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@AETrainings](https://community.automationedge.com/u/AETrainings)\
**Post date:** [February 5, 2026, 7:34am UTC](https://community.automationedge.com/t/error-handling-in-ps/17504/2 "2026-02-05T07:34:56Z")

</div>

In **AutomationEdge Process Studio** , exceptions can be handled using multiple approaches depending on the use case.

### ✅ Ways to handle exceptions

**1. Try–Catch Block**

- Use **Try** and **Catch** steps to capture runtime exceptions.

- Place all risk-prone steps inside **Try**.

- Handle errors (logging, notifications, alternative flow) inside **Catch**.

**2. Conditional Checks**

- Use **Decision / If–Else** steps to validate conditions before execution  
(e.g., file exists, record count \> 0, element present).

- Prevents avoidable failures.

**3. Step-level/workflow level Error Handling**

- Configure **On Failure** actions at the step level:

**4. Logging and Alerts**

- Log exception details using **Log Message** or **Write to File** steps.

- Trigger **Email / Notification** steps from the Catch block.
