External javascript file in camunda bpmn script task

394 views
Skip to first unread message

beauty vid brain

unread,
Sep 14, 2015, 12:52:48 PM9/14/15
to camunda-...@googlegroups.com
Hi,

Can we include external java script file to script task. And how to add dynamic validations from external file incamunda, if we do not have GUI and have JSON/XML data. 
If I tried to add external javascript file or xslt file in my bpmn script tast, then I am getting following error:

 ERROR org.camunda.bpm.engine.impl.interceptor.CommandContext - Error while closing command context
org.camunda.bpm.engine.exception.NullValueException: Can't find scripting engine for 'script': scriptEngine is null


Please suggest.

Thanks & Regards,
Aashi 

Ingo Richtsmeier

unread,
Sep 14, 2015, 1:01:48 PM9/14/15
to camunda BPM users, life.roc...@gmail.com
Hi Aashi,

You're on the right way. Try to set the scriptFormat attribute on the script task to a valid script language.

Kind Regards,

Ingo


Reply all
Reply to author
Forward
0 new messages