<div dir="ltr"><p>Hi, I used no-loop true but it still loops!!</p><p>Thomas<br></p><p> Hi</p>
<p>you must use "no-loop true" and the rule will be
executed one for one InputObject.<br><br><br>2008/8/1 thomas kukofka <<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">thomaskukofka at
web.de</a>>:</p>
<p>> Hello,</p>
<p>> </p>
<p>> I have and less loop (the rule should only executed one
for one InputObject)</p>
<p>> in the follwing rule although I use
"no-loop":</p>
<p>> </p>
<p>> rule "rulename"</p>
<p>><span> </span>dialect
"java"</p>
<p>><span> </span>no-loop</p>
<p>><span> </span>when</p>
<p>><span> </span>io:
InputObject (type == InputObject.Type.Typename)</p>
<p>><span> </span>then</p>
<p>><span>
</span>io.setStringPropertyValue(InputObject.PROPERTYVALUE, "somestring");</p>
<p>><span>
</span>update(oo);</p>
<p>> </p>
<p>> end</p>
<p>> </p>
<p>> I've read that I have to overwrite hashcode and equals,
can this be the</p>
<p>> reason? If yes, do you have an example how to overwrite
these methods?</p>
<p>> </p>
<p>> Thomas</p></div>