Ways to handle exception in process studio?
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:
-
Continue
-
Stop workflow
-
Go to another step
-
4. Logging and Alerts
-
Log exception details using Log Message or Write to File steps.
-
Trigger Email / Notification steps from the Catch block.