Script task not working

cancel
Showing results for 
Search instead for 
Did you mean: 
kchung22
Member II

Script task not working

Hi,

I'm new the APS environment. Whenever I add a script task and add a simple script:

def scriptVar = "test123"
execution.setVariable("processId", scriptVar)

I setup all the process variable, define groovy (or javascript), and still my process does always stop at the script task and doesnt move forward.

I checked the the activiti-app.properties file, and also tried to setup a a listener.

 

Any other pointer what could be the issue? Thanks!

 

1 Reply
sanjaybandhniya
Intermediate

Re: Script task not working

Did you tried with 

var scriptVar = "test123"
execution.setVariable("processId", scriptVar)

 

 

activiti-app.properties

validator.editor.bpmn.disable.scripttask=false
validator.editor.bpmn.disable.scripttask.groovy=false