Hi,

I have a query on retrying a failed process instance.

I have a process with 3 steps. This process is invoked by an external 
application by sending an event in the start message. The event has an id that 
is used as a correlation on the process.
The process sends processing response to the calling application as SUCCESS or 
FAILURE.
If the calling application gets FAILURE response, it retries the event by 
sending again the same start message (same event) to the process.

My query is:

Let's say the calling application sends and event with id=1 to the process, a 
new process instance is started with the correlation.
Now if the process instance fails in step 3, a failure response is sent to the 
calling application. To retry it will send the same start message to the 
process.
Will the same process instance get executed again?
If yes, will it start from the failed activity?
If not, can I do something in the process to know it is being recalled and skip 
the completed steps and start from the failed step?

Regards,
Jitendra

Reply via email to