Here is my dependencies.
compile group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-boot-starter-webapp', version: '3.0.0'
compile group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-boot-starter', version: '3.0.0'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.2', ext: 'pom'
Here is the error message, it seems like cannot find engine.
org.camunda.bpm.engine.exception.NullValueException: Can't find scripting engine for 'groovy': scriptEngine is null
Here is my script task xml format.
<bpmn:scriptTask id="Task_17h6w6s" name="changeStatus" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_1mvf31j</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_19je5yh</bpmn:outgoing>
<bpmn:script>execution.setVariable("status", APPROVED);
</bpmn:script>
</bpmn:scriptTask>
Can someone help me ? Thanks