ruleflow-group is a rule attribute and, AFAIK, something you assign in your rule-flow to relate rules to flows.<br><br>Unfortunately I am not an expert on drools-flow so I am hoping somebody more experienced and confirm my thoughts.<br>
<br>You do not need to use the attribute when loading the KnowledgeBase, just when authoring your flows.<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;">Thank you, Mike.<br><br>Can you let me know, please, what is the way to differentiate the ruleflow-groups on Knowledge Base reading? What classes does it affect?<br>
<br>Regards,<br><font color="#888888">Serge</font><div><div></div><div class="h5"><br> <br><div class="gmail_quote">2011/6/16 Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@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;">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"><div><div></div><div>2011/6/17 Serge Vilvovsky <span dir="ltr">&lt;<a href="mailto:sergevil@gmail.com" target="_blank">sergevil@gmail.com</a>&gt;</span><br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>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></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div><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>