Can anyone explain to me the difference between JscriptWorkflowTask.endTask() and jScriptWorkflowPath.Signal()? If I have a node in the workflow that has only one task and I Signal() a transition, does that make it identical to endTask()? If there were multiple tasks within a task node then which task would Signal() "end"?
I'll be explaining this from the javadoc and from a little jbpm I read online. The signal() method only moves the token to the next wait state but end task will end all created tasks before signaling the node to the next state. If you have created tasks in a node and want to move. Its advisable to use endtask() but if its just a wait state then you can safely use signal() otherwise the task will be left hanging although the token has left that node.