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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...