When I try it myself in my implementation that uses a Java Delegate the “Retry mechanism” only is activated when I throw an java exception, when I throw a BPMN_ERROR then the retry is not performed but the “Error Boundary Event” will directly consume the event and the “Error Cleanup Task” is triggered.
So what am I doing wrong in my setup, I would like to have to have that the java call (JavaDelegate) will retry 5 times with a timespan of 5 min and if then the exception remains the “Error Boundary Event” will trigger then “Error Cleanup”
This one I was able to implement but it is one is one of the anti-patterns that is defined on the Camunda website as you putting technical error handling stuff in your business model