AnsweredAssumed Answered

Can we model Cancelling Discriminator pattern using Activiti (Explorer)?

Question asked by pushkalap on Oct 18, 2016
Hi

I was wondering if we can model Cancelling Discriminator workflow pattern using Activiti.
Here is the pattern description - http://www.workflowpatterns.com/patterns/control/new/wcp29.php

I need to make the workflow continue if 'm' out of 'n' tasks (branches) from a parallel gateway are completed and subsequently (n-m) tasks being ignored or cancelled. Is there any way to provide such a discriminator condition over the join gateway rather than having a sub process with lot of parallel gateways to implement the same?

In the attached image link, User Task 5 should be active if 2 among User Task 2,3,4 have been completed and the one that is not completed should be cancelled/ignored.
https://postimg.org/image/hk0zd307v/

Thanks & Regards
Pushkala

Outcomes