cancel
Showing results for 
Search instead for 
Did you mean: 

Script task not working

kchung22
Champ in-the-making
Champ in-the-making

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 1

sanjaybandhniya
Elite Collaborator
Elite Collaborator

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