[rules-users] how to fire a subset of rules in KB?

PAYET, Manuel manuel.payet at capgemini.com
Mon Jun 7 05:33:54 EDT 2010


If you want to fire only a subset of rule,
you can use ruleflow-group, and you have to use Agenda to define the ruleflow-group to use.
You'll find more infos in the drools-expert documentation on how to use those two.

________________________________
De : rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] De la part de wenjinchao
Envoyé : lundi 7 juin 2010 11:28
À : rules-users
Objet : [rules-users] how to fire a subset of rules in KB?

Hi all,

I'm a newbie for drools.
And i want to know how to fire a subset of rules in KB,
suppose there are three rules named A,B,C, and I want to fire rule A only.



by the way,
suppose there is a drl file containing rule, and  i have set up KB, and call fireAllRules through statefulKnowledgeSession. After that, the rule file is changed, how to load rules dynamicly?

Is there any solution?
Thanks in advance!


best regards.


2010-06-07
________________________________
wenjinchao
</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100607/0f64266f/attachment.html 


More information about the rules-users mailing list