Retry cycle when Bad Request

Hello,

Im trying to handle error response in task service, but it has been hard for my to undertand how it works.

If I want to enable “failedJobRetryTimeCycle” option, the only way is not to place the “try-catch” lines in Java Service, is there another way to execute retries when I received a 4XX or 5XX http response from WebService?

Thank in advanced.

Hey @JosephARS,

You can use a boundary error event and map the exception you want to catch. Then you can do what you want with the out flow of the boundary error event. In a way you can model a “try-catch” behaviour in the Process Model.

Cheers,
Filip