Scripts are used to define and run actions but also properties inside nodes. For now, the following script languages are supported.
Scripting Language | Language Version | Scripting Engine | Scripting Engine Version |
---|---|---|---|
Python | 2.7.0 | Jython | 2.7.3 |
DMN | 1.3 | camunda.engine.dmn | 7.20.0 |
MVEL | 2 | org.mvel.mvel2 | 2.5.2.Final |
Groovy | 3.0.21 | org.codehaus.groovy Β» groovy-jsr223 | 3.0.21 |
JavaScript | ECMAScript 5.1 | Nashorn | 15.4 |
let
, const
, and block scope; iterators and for..of
loops; Map
, Set
, WeakMap
, and WeakSet
data types; symbols; and binary and octal literals. It is written in Java and runs on the Java Virtual Machine.
Latest version of Nashorn is 15.4, available from Maven Central. You can check the changelog to see whatβs new.