cancel
Showing results for 
Search instead for 
Did you mean: 

completing inclusive Gateway

vinothkumar_j2e
Champ in-the-making
Champ in-the-making
Hello,

Is there any way i can complete the inclusive GateWays depending on the external events . i.e. like taskService.complete(), can i apply similar method to complete or can i mention some conditions for the gateways to complete ?

Thanks
3 REPLIES 3

trademak
Star Contributor
Star Contributor
It's a bit difficult to answer this without some more information about your whole process definition. What you can do for example, is use boundary signal or message events to trigger waiting tasks to complete and therefore complete the inclusive gateway. But I really need more information to answer your question.

Best regards,

vinothkumar_j2e
Champ in-the-making
Champ in-the-making
There will be 10-30 user task available between gateways for parallel execution. Upon completion of some of them , we need to skip rest of the user task and move out of gateways. Decision will be in runtime . IF there is going to be gateway methods , i can check them on their evens and complete the gateway and move forward ..

Thanks

trademak
Star Contributor
Star Contributor
There are multiple solutions for this, but you could just complete the remaining user tasks or use a signal or message event with a boundary event for every user task.

Best regards,