<br>&nbsp;&nbsp;&nbsp; Good to know. Thanks for the feedback.<br><br>&nbsp;&nbsp;&nbsp; Drools has 2 configurations for what you want:<br><br>1. If you want to completely deny the &quot;existence&quot; of 2 or more equals() objects in the working memory, change the assert behavior to EQUALITY based. The default behavior is IDENTITY based:<br>
<br>drools.assertBehaviour = &lt;identity|equality&gt;<br>or<br>RuleBaseConfiguration.setAssertBehavior()<br><br>2. If you want to allow existence of equals() objects in the working memory, but want each fact matching at most one pattern in your rule, set removeIdentities to true:<br>
<br>drools.removeIdentities = &lt;true|false&gt;<br>or <br>RuleBaseConfiguration.setRemoveIdentities()<br><br><br>&nbsp;&nbsp;&nbsp; []s<br>&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2008/3/14, siddhartha banik &lt;<a href="mailto:siddhartha.banik@gmail.com">siddhartha.banik@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>&nbsp;</div>
<div>Hi Drools Team,</div>
<div>&nbsp;</div>
<div>I have checked out <strong>Drools 4.0.x branch</strong> &amp; found that all my test scenarios with <strong>&quot;Dynamic Rules&quot;</strong>&nbsp;are now <strong>working fine</strong> <strong>:-)</strong>. </div>
<div>&nbsp;</div>
<div>Thanks a lot for fixing the issues so promptly. I appreciate it !!!</div>
<div>&nbsp;</div>
<div>Now, we will definitely use Drools in our application.</div>
<div>&nbsp;</div>
<div>I have a <strong>Good To have</strong> feature request for Drools:&nbsp;&nbsp; &quot;Include check for duplicate objects being asserted into Working Memory &amp; don&#39;t generate any activation for such objects or silently don&#39;t assert them at all in WM.&quot;&nbsp; I tested this scenario with <strong>JESS</strong>, they are already doing that. This will save Drools user&nbsp;from doing duplicate check, which&nbsp;is bit&nbsp;costly now. </div>


<div>Or can you please suggest me any simple way, by which still I can&nbsp;achieve this in Drools ?</div>
<div>&nbsp;</div>
<div>Thanks &amp; Happy Drooling</div>
<div>Siddhartha</div><span class="sg">
<div>&nbsp;</div>
</span><br>_______________________________________________<br>
rules-dev mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;JBoss Drools Core Development<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>