01-02-2017 08:38 AM
Hello everyone ,
Can anyone explain to me please how to use JavaScript in activiti (activiti-app as an end user) , I got confused between the client side use of JS and here in the engine.
for example , methods in forms written in JS , how can I use them to modify something in the DOM ?
Thank you
01-02-2017 12:03 PM
The java script which you are using in script task (engine one) is server side java script in which you can use java script root objects to modify workflow variables , start workflow etc. You can not do DOM manipulation here.
The java script which you are using in forms , It is client side js (angular js). Here you can do DOM manipulation using angular JS.
01-02-2017 11:27 PM
Hi,
for script task you can refer this link Script Task | docs.camunda.org and Activiti User Guide
and how to use java class refer Tutorial From Devoxx: Activiti, BPMN 2.0 in Action - DZone Java
Explore our Alfresco products with the links below. Use labels to filter content by product module.