Thanks Maciej.
Is there a way to delegate the script to a java class?
I'm not comfortable in having a large script in the process definition.
In jbpm4 (if I'm not confusing with other engines :p ), we can simply put the classpath of a java class in the script (org.myapp.MyClass), and implement some interface in MyClass.
I'm aware that jbpm5 works completely different, but just asking... ;)
Thanks