Good morning everyone.
I need this workflow where some of the human tasks are defined to use candidate group for the assignment.
The problem is that I need to be able to control the flow, like, for some taks, I need a number of approvals to have the flow advancing to the next tasks, and for others, I have some different logic to do the same.
Is it possible to define some logic in the task or execution listener to do this?
check if I have 2 approvals, then advance, if not, wait for more users to finish the task;
if I have 2 denials, go ahead and advance in the flow.
I was using the Completion Condition with the Collection element to do the logic, but that is causing problems, as the assigment has to be dynamic, as new users can become members of the groups I used in the collection variable.
So, my doubt would be simply, how to decide and force the remaining tasks to be removed and let the flow advance.
Thank you in advance.