Hi I'm new to activiti and bpm. Created process https://www.dropbox.com/s/lgptg2lbz7cl4o7/myproc.png?dl=0 I'm not sure if it's correct from activiti point of view but it doesn't work as expected On Request user service I call complete task and then there are not tasks at all. I hoped that paralley gateway always create task for Approval Manager and inclusive gateway optionally create tasks for approvals Any hints ?
I've managed to fix the problem by deleting the parallel gateway. But now I'm wondering about the whole process as my Approval Manager is getting more and more tasks The idea is that - each approver can reject the request so then the tasks should be deleted then I think - manager can always approve the request and this is the end
The parallel gateway needs all incoming sequence flows to be completed before it will proceed. In your shared process definition this won't happen because of the looping user task. So the process instance will never continue from the parallel gateway. If you would model this differently then it should work as expected.
It was fork parallel gateway - one input and 2 outputs. Hmm I think it should work. Anyway I redesigned the schema using a few subprocesses and errors events and now it looks it's working as desired