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?
But in a nutshell, a "user task" is user oriented and therefore will normally wait for a user to trigger for it to complete. However, a script task is executed by the system based on a certain condition being met. Now the difference is seemingly noticeable in that their execution listeners different: <strong>user = "tasklistener.ScriptTaskListener"</strong> and <strong>script = "listener.ScriptExecutionListener"</strong> although this depends on the type of script task being called.