I am trying to design a BPMN process and calling Java Delegate classes for service tasks. The Java Delegates are integrated via the Delegate Expression pattern. This works all fine.
My problem is that the Java classes are executed but there can be the need to throw an exception e.g. the action cannot be executed (the business project might be locked by another user). This exception is then designed in the BPMN as an “Error Boundary Event” with the qualified class name as the “Error Code” and the definition of a “Retry Time Cycle” e.g. “R3/PT30S”.
The definition of the retry time cycle is not used, the retries are fired directly one after the other, no wait between the tries. I have tried it also with throwing a BpmnError instead of a Java exception but it behaves the same.
Any idea what I am doing wrong?