[jboss-user] [JBoss jBPM] - Re: findReceiveTokens query finds InvokeAction too
dhanushgopinath
do-not-reply at jboss.com
Thu Feb 5 06:02:10 EST 2009
Hi Meghana,
This is something which i understood from R&D.
A Token is an object that represents an execution (http://docs.jboss.org/jbpm/v3/userguide/graphorientedprogramming.html#anexecution).
When the process is getting executed a token will have different nodes depending upon its flow of execution, it can have receive, invoke or assign or anything else. And it holds onto the last node that it executed if the process is not ended. When a process ends, its tokens also ends.
So when you do
token.getNode();
|
you will always get the last node it executed. In your case its coming as invoke action since that was the last node which executed and the process has not ended properly.
So I think this might not be a bug. Not sure 100%.
Hope this helps.
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207278#4207278
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207278
More information about the jboss-user
mailing list