AnsweredAssumed Answered

Canceling in paralel human task

Question asked by bulutoprak on Jun 30, 2014
Latest reply on Jun 30, 2014 by trademak
Hi,
It seemed very easy at first but i could not decide how to handle the following situation. I have process definition where there is only 2 paralel human task's (waiting for users to approve or cancel) . If all the users approve process will continue with the operation, but if one of them rejects , i have to finish the process instance without waiting the other users to make an action.
So for positive response, my flow is paralel , but if one of the user rejects, i have to stop the paralel approval mechanism and end the process instance.

So far, I have 3 options that ican think of,
1) Programmitally cancel the process instance by handling the situation.
2) Throwing a message to cancel the flow and catch it to end the process. (Or signal ?)
3) After each human task add gateway to continue on paralel processing or to end. (This seems to pollute the process flow just to cancel?)

Outcomes