Thanks so much that's really helpful! Unfortunately, I'm getting this error:
problem evaluating script: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: relatedContentService for class: Script1
Any thoughts?
No idea, I built this just now in my 1.6.1 environment and it runs ok (Process Services 1.6.1 on Tomcat).
Managed to solve this issue! We had to change the activiti-app.properties configuration file to set:
# Beans whitelisting
beans.whitelisting.enabled=false
# EL whitelisting
el.whitelisting.enabled=false
Ahh yes, Alfresco in their infinite wisdom decided to lock down security by disabling access to beans without telling anyone in 1.6.
Should have thought of that.
Greg
#bp3
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.