Hi Have been able to correct the problem with a little workaround now.
if I use
Somehow the transition is not being invoked. Maybe, the attribute "signal" in the task-node is mandatory and not optional as documented.
So, I deliberately call the signal method in the token.
after the first statement.
Please note, that both the statements have to be present to get make the transition and also remove the task from the user's list of pending tasks.
But , this is not probably how the API is intended to be used. If someone could please point out what I am doing wrong, I will greatly appreciate it.
I think theres no need to have 2 API calls... just signalling a taskinstance
not only transmits via the given transition but also it sets "end date" on the taskInstance of A. So the task-instance doesn't appear on the A's worklist.
It looks to me this is indeed a bug. Can file a JIRA issue? Most conveniently with a testcase proving this behaviour attached...