Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: how to fire rules after human task!!!"

To view the discussion, visit: http://community.jboss.org/message/608725#608725

--------------------------------------------------------------
You can use ksession.fireUntilHalt() before you start your process. Something 
like this:

new Thread(new Runnable() {
            public void run() {
                ksession.fireUntilHalt();
            }
        }).start();
 
ksession.startProcess("processId");


fireUntilHalt() will fire whenever a rule gets activated.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608725#608725]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to