I would like to move the execution point to another branch of the workflow when the max number of automatic retries is reached for a service task.
I guess I have to add an "errorBoundaryEvent" to the monitored service task and that I could handle the routing from the delegate ; if {max retry is reached } then {move to error handling branch} else {let the retry engine do his part}. But I don't like the idea of handling it that way plus I dont want to duplicate that routing code for every single service task we have. I'd rather have it handled on the engine side. Do you know what would be a proper solution ?