AnsweredAssumed Answered

What is the difference between the script in 'User Task' and 'Script Task'

Question asked by jerryli on May 14, 2015
Latest reply on May 21, 2015 by darkredd
I am working on an activiti workflow which requires me to post the task id to the outside website.

I can post something outside by following the example here: https://github.com/jbarrez/activiti-advanced-scripting/blob/master/src/test/java/org/activiti/ExecuteScriptOnTaskCompleteBpmnParseHandler.java

However, since I need the user task id, I have to put the same script in the "User Task" which I found very different from the script in the "Task Script".

In the script of "User Task", I can't use the "println" to print something.

Does anyone know any document to well-explain the difference?

Thanks,
Jerry

Outcomes