[jboss-user] [JBoss jBPM] - Re: Knowing which token you are in?

salaboy21 do-not-reply at jboss.com
Mon Jun 30 07:54:10 EDT 2008


I think that this is what you are looking for:

context.getToken().getName();

where context is the ExecutionContext in you ActionHandler

Remember if you don't have concurrent paths of execution(like if you use a fork) or a subprocess(like if you use a process-state), you only have one token.. and that token have a pointer to the current node.

Hope it helps

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161479#4161479

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161479



More information about the jboss-user mailing list