[jboss-user] [JBoss Seam] - Re: Problem with JBPM nodes and transitions
chawax
do-not-reply at jboss.com
Mon Sep 3 08:58:44 EDT 2007
I found a solution on another post on this forum. I inject processInstance then I can call processInstance.getRootToken().signal() and it works.
Something like that :
public class AfficherMessageConsole {
|
| @In
| private org.jbpm.graph.exe.ProcessInstance processInstance;
|
| public void goToNode2() throws Exception {
| execute("GO TO NODE 2");
| processInstance.getRootToken().signal();
| }
| }
Is it the good way to do it or there is a nicer solution ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080488#4080488
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080488
More information about the jboss-user
mailing list