How can I reference a variable defined by a Script task, in a custom JavaScript on a form, in an event handler (such as formRendered)?
Hi,
the custom JavaScript in a form has only access to the fields inside that form and you don't have any access to the process variables there.
It is best to get them using the REST APIs (/activiti-app/app/rest/process-instances/{processInstanceId}/historic-variables – this api can be used if you are using OOTB UI and will return all variables associated with the process).
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.