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.
Hello maol _,
I also facing the same issue, i just remplaced event.getEngineServices() with Context.getProcessEngineConfiguration().
I hope that helps you.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.