<div>Are you trying to use more than one modify() call on the fact. Even i faced a similar situation and could find one of the forums on drools stating this problem. Looks like you cannot modify the same fact more than once in the same drl.
</div>
<div>I am still awaiting an answer to my post. My comments might help you. Check it out.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Natraj Gudla.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/28/07, <b class="gmail_sendername">Felipe Piccolini</b> &lt;<a href="mailto:felipe.piccolini@bluesoft.cl">felipe.piccolini@bluesoft.cl</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Hi, I dont know if this is reported or maybe its just my mistake... but 
<div>when I use dynamic JavaBeans and PropertyListeners the re-evaluation of the rules</div>
<div>seems to skip the condition evaluation, so they fire again.. and again, and again..</div>
<div><br>&nbsp;</div>
<div>I have a couple of rules where the conditions are true then I change the value of an attribute</div>
<div>and the rules re-evaluate again... and so on. I putted a special constraint in the conditions</div>
<div>of that rule so when it is fired, it modify an atribute of another fact (tested with the another</div>
<div>attribute of the same fact but it happens anyway), so I try to be sure that rule will not fire again...</div>
<div>but it does ignoring the constraints... checked with the logger and the debugger...</div>
<div><br>&nbsp;</div>
<div>Is this a bug or it is supposed to be so, and I need to think another way to write my rules?...</div>
<div>I want to use the dynamic JavaBeans, so no need to write inserts/updates...&nbsp; When I set the insert(Object, FALSE)</div>
<div>the problem dissapears.</div>
<div><br>&nbsp;</div>
<div>Thanks.<br>
<div><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px">
<div><span style="TEXT-DECORATION: underline"><span>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</span></span> 
<div><font size="3"><span style="FONT-SIZE: 13px"><b style="FONT-WEIGHT: bold; FONT-SIZE: 13px"><span style="FONT-WEIGHT: bold; FONT-SIZE: 13px">Felipe Piccolini M.</span></b></span></font></div>
<div><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:felipe.piccolini@bluesoft.cl" target="_blank"><span style="COLOR: rgb(0,0,238)">felipe.piccolini@bluesoft.cl</span></a></div><br>&nbsp;</div>
<div><br>&nbsp;</div><br></span></div><br>&nbsp;</div></div><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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 clear="all"><br>-- <br>Natraj Gudla