My Process Instance is always active when there is an exception occurs in my script. I would like to terminate the instance and catch exception at process instance level regardless of Script tasks/Service delegates. Could someone guide for this?
For a good practice, handle the business errors using BPMN error events, in case of technical errors handle it by creating and resolving the incidents.