AnsweredAssumed Answered

Tasklistener on complete has no Execution Context

Question asked by pfeiffer on Oct 31, 2012
Latest reply on Nov 16, 2012 by frederikheremans1
Hi,

I stubled upon a problem when executing a task listener on the 'complete' event. It seems that when that listener is executed, no execution context is initialized. This has as a consequence that no process scoped beans are usable. Also when looking in the stack of org.activiti.engine.impl.context.Context no execution context is present.

I moved the same tasklistener to the create event and that worked. Making it a executionlistener on the end event made it possible for me to circumvent the problem. But this would prevent us from using any tasklisteners on the complete event. Is this a known bug ?

Outcomes