AnsweredAssumed Answered

Activiti 6 : How to get engine services in an ActivitiEventListener ?

Question asked by maol on Oct 16, 2018
Latest reply on Nov 5, 2018 by fdakhlaoui

Hello,

 

How can I get access to engine services in the onEvent(ActivitiEvent event) method of an ActivitiEventListener ?

 

In version 5, I could just do :

 

event.getEngineServices()

 

In version 6, this method is not available anymore.

 

Yet the documentation still says:

 

If possible, use the EngineServices exposed by the event to interact in a safe way with the engine.

Outcomes