I am using JBPM 5.4 for my process orchestration.
We have a process which is combination of multiple nodes.
Each node (process) may have some sub process which are sequential and executed as part of a single process sequentially.
e.g.
Process 1 [Step 1, Step 2] -> Process 2 [Step 1,Step 2, Step 3] -> Process 3 [Step 1]
I have finished Process 1 (Both steps 1 & 2 are completed for this process).
Now my process 2 has started and it fails on Step 3.
How would I roll back Step 1 & Step 2 of Process 2.
Is there a way to manage transaction or is there a way for Compensating transaction with JBPM?
Thanks,
Taral