cancel
Showing results for 
Search instead for 
Did you mean: 

Canceling in paralel human task

bulutoprak
Champ in-the-making
Champ in-the-making
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?)
1 REPLY 1

trademak
Star Contributor
Star Contributor
I think option 1 would be the easiest way of handling the situation of that's working for your use case.

Best regards,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.