How to process an incident with retry after fail event received?

callback_processing.bpmn (12.7 KB)

I have 3 tasks on the diagram. The first one makes a request to a third-party service, the third-party service responds instantly and takes the incoming request into work. Next in the diagram is a event-based gateway that is waiting for a response from a third-party service (a third-party service will notify via http that the request has been processed). The second task will process the successful response. The third task analyzes an unsuccessful response and, based on this, either throws an error or an incident occurs. When an incident occurs, we need to repeat step 1 to make a request to the third-party service again. How can I do that?

1 Like