Depending on the cohesion of your rules you could have multiple solutions to this scenario.<div><ol><li>Having different knowledge bases each one containing a set of rules. A knowledge base is basically a collection of rules, so you could have 10 different kbases. The issue here is that the set of Facts (the objects you insert in a session) is not going to be shared between the different sessions of your different kbases. So you will need to insert them in the corresponding ksession. </li>
<li>Having 1 kbase but separate the rule *execution* using agenda-groups. Please read the documentation for further information about agenda-group: <a href="http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html">http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html</a></li>
<li>Use jBPM in conjunction with rule-flow-group attribute in your rules to control the execution flow of your rules. </li></ol><div><br></div><div>Best Regards,</div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 7:37 AM, srinivasasanda <span dir="ltr"><<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi EveryOne..<br>
Please if any one know give me some link, or sample example, or<br>
suggest how to do this, Thank u in advance<br>
<br>
I am Having 1000 rules and i want to make each 100 rules as one set, so i<br>
will 10 set , can i fire only 1 set when necessary, can i add a new rule to<br>
existing set dynamically,<br>
<br>
what is necessary of making more than one drl files, and how to load all drl<br>
at once.<br>
<br>
<br>
I am very new to drools.. Please suggest me some solution<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/I-have-1000-rules-i-want-to-create-each-100-as-one-set-and-fire-each-set-when-necessary-tp3511864p3511864.html" target="_blank">http://drools.46999.n3.nabble.com/I-have-1000-rules-i-want-to-create-each-100-as-one-set-and-fire-each-set-when-necessary-tp3511864p3511864.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></span></blockquote></div><br></div>