Script task not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 04:38 PM
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!
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2020 09:43 AM
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
