[jboss-user] [jBPM] - Re: Solution needed
Maciej Swiderski
do-not-reply at jboss.com
Thu Jan 26 12:42:47 EST 2012
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: Solution needed"
To view the discussion, visit: https://community.jboss.org/message/648910#648910
--------------------------------------------------------------
For selecting particular rule(s) while invoking http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/rule/StatefulRuleSession.html#fireAllRules(org.drools.runtime.rule.AgendaFilter) fireAllRules you could use implementation of http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/rule/AgendaFilter.html AgendaFilter.
A good out of the box implementation is org.drools.base.RuleNameEqualsAgendaFilter, that accepts name of the rule to execute as constructor argument.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648910#648910]
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/20120126/f407bae5/attachment.html
More information about the jboss-user
mailing list