[jboss-user] [jBPM] - Re: control only business rule execution
Maciej Swiderski
do-not-reply at jboss.com
Wed Jan 25 01:55:30 EST 2012
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: control only business rule execution"
To view the discussion, visit: https://community.jboss.org/message/648588#648588
--------------------------------------------------------------
this is more drools question rather than jBPM but I'll try to put bit more light on it. Rule activation is done on facts insert/update/retract. So whenever you insert a fact rules will be activated but not fired.
What you could do (if I understood your case correctly - you need to add several facts into session and then execute one rule on all these facts) you could insert them as collection into the session and make your rule operate on collection rather than single instances.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648588#648588]
Start a new discussion in jBPM at Community
[https://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/20120125/5dda301f/attachment.html
More information about the jboss-user
mailing list