ReceiveTask ExecutionListener not invoked with TerminateEndEvent

HI,

I’m working with flowable 6.6.0. I have a curious behavior and I’m not sure it’s a normal behavior.

I defined an executionListener for end event on a receive task. My workflow is made up of parrallel gateway with 2 branches : one with the receive task and the other one with a simple service task and my end event having the terminateEndEvent definition.
When I test my process, I notice when the execution reaches end event, my execution listener is not invoked.

Can somebody explain me why it doesn’t work? I notice also ExecutionEntityManagerImpl on delete child execution perform deletion on jobs, variables, user task, entity links and so one but not on receive task.

How can we trigger end execution listener on receive task when process ends ?

Thanks for your help

Hey @RaphC,

I’m not sure that I fully understood. When does the execution listener not execute? After the end event after the service task or at some different point?

Can you perhaps provide some test cases that we can look into?

Thanks,
Filip