[jboss-user] [jBPM] - Re: how to fire rules after human task!!!
Esteban Aliverti
do-not-reply at jboss.com
Mon Jun 6 07:20:42 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110606/797c23b1/attachment.html
More information about the jboss-user
mailing list