-
1. Re: Task list and Nodes
ashkumar Oct 20, 2005 3:12 PM (in response to ashkumar)Hi Have been able to correct the problem with a little workaround now.
if I use
taskInstance.end("tr1");
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.
taskInstance.getToken().signal ("tr1");
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.
Thanks, -
2. Re: Task list and Nodes
akula.pratap Oct 22, 2005 7:22 AM (in response to ashkumar)Hi
I think theres no need to have 2 API calls... just signalling a taskinstancetaskInstance.getToken().signal("tr1")
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.
Regards -
3. Re: Task list and Nodes
koen.aers Oct 23, 2005 7:25 AM (in response to ashkumar)It looks to me this is indeed a bug. Can file a JIRA issue? Most conveniently with a testcase proving this behaviour attached...
Regards,
Koen