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

fernando.deleon@gmail.com do-not-reply at jboss.com
Mon Jun 30 20:09:57 EDT 2008


Thanks..
I actually found a way..
the context.getToken().getName() works only when you have access to ExecutionContext 
However I had this managed bean (JSF world) that had access to ProcessInstance..
the way i found my current token is via..


  | processInstance.getRootToken().getNode().getName();
  | 

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

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



More information about the jboss-user mailing list