normally, if you specify a transition on a timer, the node is 'left' and that task automatically ended. So doing this in an actionhandler is not needed nor advised (at least not in a tasknode)
that's my notion of timer when attached to a 'task-node' that it will end the task node and route to the intended 'timeout transition'...i think this possible only if not using db persistence? please advise? thanks.
No, works with db persistency as well. Look at the docs for the jpdl attributes and/or look at the unittests in the source
I can get TaskInstances using this code:
final Collection<TaskInstance> tasks = context.getTaskMgmtInstance().getTaskInstances();
the above code retrieves all taskInstance in a process (it's obvious) when I use a handler. Now my question is How can i get the the specific task for which a timer handler attached to?
Thanks a lot.