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?
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.