AnsweredAssumed Answered

Process instances got stuck at the parallel gateway

Question asked by rishiraj.kalla on May 29, 2014
Latest reply on Jun 1, 2014 by rishiraj.kalla
Hi,

I am working on an application where BPM engine is developed using Activiti 5.13. There is one main process xml which conditionally invokes 4 different caller activities(sub processes) in parallel and all the 4 sub processes are routed to join using a parallel gateway. We noticed that there were many instances which have all the tasks completed (No active task in ACT_RU_TASK table for the given process instance id) however the ACT_RU_EXECUTION table indicate that the instance is stuck at the parallel gateway (No End time for parallel gateway step in ACT_HI_ACTINST while all other steps have and ) and has not ended, we have changed the parallel gateway to inclusive gateway but now just wondering is there any way through APIs to move forward those stuck instances at parallel gateway. Due to this issue some of the reporting stats like completed instances are shown incorrectly. Since I have joined team recently I do not have any log or exception trace for it.

I tried to reproduce this by creating a similar template but without any forms and fields in it but was unable to reproduce the scenario.

If anybody is aware please let me know if there is any such API or steps to be taken to move ahead such stuck instances. Once these parallel gateway completes the process will end as there is no further step after it.

With Thanks and Regards,
Rishi

Outcomes