You know that is not a bad idea at all.I can store the taskInstance ID on a
Node-Enter event, then I can get the exact task instance every time.
That should work just peachy.I will try to post the code here if it all
works.
Thanks
View the original post :
http://www.jboss.com/index.ht
I think what I would try to do is get the id of the taskInstance the user is
doing and directly have it in your method...
In all cases I think you need something more to find the right taskInstance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066192#40661
Thanks for your response, unfortunately I am not in an Action.
The users has just finished the task on the web page (of my own design) and I
am calling a ejb method that will then get the processinstance bia the process
id and transition the task.
Looking at source code an running some tests
If you are in actions you can use the ExecutionContext :
executionContext.getToken and executionContext.getTaskInstance...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066090#4066090
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&