This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Script Tasks for BPMN

The Activiti engine supports script tasking via groovy and JavaScript. JavaScript gets executed via the Rhino Engine and Groovy gets executed by the Groovy Engine.

JDK comes with default support for JavaScript. On the other hand, to execute the groovy, the .jar files responsible for the Groovy Engine have to be added to the <EI_HOME>/wso2/lib/endorsed directory. The .jar file can be download from here.