AnsweredAssumed Answered

PROCESS_CANCELLED event not sent for parent process when call activiti subprocess encounters terminate all end event

Question asked by jim1 on Sep 6, 2016
Latest reply on Sep 20, 2018 by willb
We have a top level process which uses a <callActivity> element to start a subprocess.
One of the routes through the subprocess ends with a terminateAll end event. This is correctly cancelling both the sub process and parent process.

However, we have an ActivitiEventListener which logs each process as it ends, and we're only seeing a PROCESS_CANCELLED event being thrown for the sub process. I'd expect to also see one for the parent process as well.

Is this intended? If so, is there a way that we can detect that the parent process is also being cancelled?