<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:SimSun}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:SimSun}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.25in 1.0in 1.25in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Drools Rulers,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I am new to drools and I&#8217;ve configured a rule with the following:</p>
<p class="MsoNormal">------------------------------------------------------------------------</p>
<p class="MsoNormal">rule &quot;my rules&quot;</p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; ruleflow-group &quot;nike&quot;</p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; no-loop true</p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; when</p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $nikeShoe : NikeShoe() from shoeManager.getNikeShoe(xxxx)</p>
<p class="MsoNormal" style="text-indent:9.6pt">then</p>
<p class="MsoNormal" style="text-indent:9.6pt">&nbsp;&nbsp; xxxx</p>
<p class="MsoNormal">end</p>
<p class="MsoNormal">------------------------------------------------------------------------</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">When I run rule group &#8220;Adidas&#8221;, the getNikeShoe() query in group &#8220;nike&#8221; is executed. Although I did NOT invoke the rule group &#8220;nike&#8221; when executing rules, the shoeManager. getNikeShoe () call is always executed. Seems somehow the condition
 is pre-checked by drools somehow. Anyone could please share what I did wrong? I definitely don&#8217;t want to invoke group &#8220;nike&#8221; when executing group &#8220;Adidas&#8221;.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Thanks in advance!</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Alan M.<span style="color:#1F497D"></span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><b><i>CONFIDENTIALITY NOTICE:</b> The information contained in this message is intended only for the recipient and may contain information that is confidential. If you are not the intended recipient or an employee or
 agent responsible for delivering this message to the intended recipient; please be aware that any dissemination, forwarding, printing, copying, disclosure or distribution of this communication is strictly prohibited. If you have received this communication
 in error, please immediately notify the sender by replying to the message and deleting all copies, including attachments, from your system.
</i></font>
</body>
</html>