-
1. Re: getting current task in decisionHandler
kukeltje Sep 5, 2007 4:32 PM (in response to cheets)there is no current taskinstance in a decisionnode. The taskinstance does not call the decisionhandler, it takes a transition and does not know where this transitions to. Saving and closing a taskinstance saves the variable to the processlevel where it is accessible to the decisionhandler.
-
2. Re: getting current task in decisionHandler
cheets Sep 7, 2007 1:05 AM (in response to cheets)ohh... ok. this definitely clears up things. thanks!
I understand that the executioncontext is sent to all action/decision handlers,but then, shouldn't this be mentioned somewhere that decision handler will not get a current task instance from executioncontext,
executionContext.getTaskInstance() is kind of misleading.
(Although now, after your explanation, it looks so obvious :) , but I am sure there will be others like me..)
Thanks again! -
3. Re: getting current task in decisionHandler
kukeltje Sep 7, 2007 5:20 AM (in response to cheets)then they now have this forum post to find out ;-)