IIRC, you can use different ruleflow-groups to differentiate the two rules.<br><br>The problem you describe would be evident locally if you used a single KnowledgeBase containing the two rules. Creating two KBs would not normally be recommended.<br>
<br>A single KB should be sufficient.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">2011/6/17 Serge Vilvovsky <span dir="ltr">&lt;<a href="mailto:sergevil@gmail.com">sergevil@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I am a beginner with drools, sorry, if the question is too trivial.<br><br>I have two drl files A and B. Both they validate the instance of the same type T, but produce the different output.<br>
I call the drool A within one business flow and drool B within another flow. <br>
<br>Before now I ran them locally, creating two separate KnowledgeBases, and everything worked fine. Now I want to use the Guvnor. <br><br>If I put them to the same package and run: <br><pre><a>http://&lt;server&gt;/guvnor-webapp/org.drools.guvnor.Guvnor/package/&lt;packageName&gt;/</a><a>LATEST</a></pre>

I will get the KnowledgeBase that contains them both, I believe. According to my understanding, because they process the instance of the same type, I cannot use such KnowledgeBase. <br><br>What should I do? Is it any API that allows to distinguish the KnowelageBases for the different drools within the same package or I need to put them to the different packages?<br>

<br>Thank you!<br>
<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>
<br></blockquote></div><br>