cancel
Showing results for 
Search instead for 
Did you mean: 

Recovery for java service node

lojian
Champ in-the-making
Champ in-the-making
Hi,

Say I have a simple process which consists of two Java service nodes.
The two nodes(A,B) are connected as:

StartNode -> A -> B -> EndNode;

Assume Activiti crashes when its executing Node B. When Activiti
is restarted next time, will the engine resume the execution from
Node B or Node A or anything else?

Thanks….
1 REPLY 1

tombaeyens
Champ in-the-making
Champ in-the-making
In case of exceptions, Activiti will rollback the ongoing transaction.
The database will rollback to the previous state in the database.
So the last trigger (runtimeService.startProcessInstance or runtimeService.signal or task.complete) will return with an exception.