AnsweredAssumed Answered

Activiti Behaviour in Some Situations

Question asked by gokceng1 on Dec 21, 2012
Latest reply on Dec 26, 2012 by jbarrez
I don't know whether it is right place to post this but I need some guidance about some points.

1. I have 2 callactivities in parallel, let's say A and B. In each there are some various tasks(service, receive, user etc tasks). Because Activiti processes parallel executions in order, it may be possible that execution on A can wait at some point and execution on B starts to execute until a wait point(user task, receive task etc). While executing the flow on B I faced with an unexpected situation and I need to stop whatever waiting/going on A. Also I may need to compensate whatever is done in A and then terminate it. How can I use Activiti in that situation?

2. Independent of 1, in serial execution I still may want to stop the execution at some arbitrary point and take other actions(bpmn process again) according to the reason which caused this termination need. What does Activiti offer me in this situation?

Thanks in advance.