10-16-2018 11:49 AM
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.
11-05-2018 10:25 AM
Hello maol _,
I also facing the same issue, i just remplaced event.getEngineServices() with Context.getProcessEngineConfiguration().
I hope that helps you.
Explore our Alfresco products with the links below. Use labels to filter content by product module.