AnsweredAssumed Answered

Exception Handling with Retry

Question asked by samsmith on Sep 25, 2015
Latest reply on Sep 29, 2015 by martin.grofcik
Hi,

I have a BPM process that makes many service calls and also has 2 Human Tasks.  I now want to implement an Exception Handling to handle  Technical Exceptions (example: backend service is not responding, database is down etc).

Just wantwed to check if there is any recommended pattern that I can use.

What I don't want to do is use  a combination of 'Error End Event' and 'Error Boundary Event' against each Service call as this will make my process unmanageable.

Question 1: Can I use an 'Event Subprocess' that will act as 'Catch-All'. I mean if I get any error in any of the service call, that should move the instance automatically to the 'Event Subprocess'.

Question 2: In my Event-Subprocess, I intend to add a Human Task with an option of 'Retry' on the screen. This retry  should then move the instance back to the activity that had failed. Is this something that is possible in Activiti BPM.

Outcomes