[jboss-user] [jBPM] - Re: A question about rule task in jBPM5
Mauricio Salatino
do-not-reply at jboss.com
Wed Mar 9 07:54:54 EST 2011
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion
"Re: A question about rule task in jBPM5"
To view the discussion, visit: http://community.jboss.org/message/592111#592111
--------------------------------------------------------------
Hi Jing,
That's right.. jbpm5 is flexible enough to provide you that behavior too. Take a look at this tests:
https://github.com/Salaboy/Drools_jBPM5-Training-Examples/blob/master/jbpm5/01-jBPM5-SimpleEmergencyServiceProcess/src/test/java/com/wordpress/salaboy/examples/SimpleEmergencyProcessTest.java https://github.com/Salaboy/Drools_jBPM5-Training-Examples/blob/master/jbpm5/01-jBPM5-SimpleEmergencyServiceProcess/src/test/java/com/wordpress/salaboy/examples/SimpleEmergencyProcessTest.java
More specifically the test called: reactiveProcessAndRulesTest ()
It uses the engine in reactive mode calling the fireUntilHalt() method.
Hope it helps!
Greetings
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/592111#592111]
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/20110309/10e07279/attachment.html
More information about the jboss-user
mailing list