<div dir="ltr">Hello,<br><br>thanks for your quick reply.<br>I understand your explanation, but adding the <i>lock-on-active rule attribute to rule 1 and 2 only results that none of these rules is executed.<br>What I want to be excuted for the values below:<br>
</i> TestObject io = new TestObject(TestObject.Type.INPUT);<br>
io.setDoublePropertyValue(TestObject.PARAMETER1, <span style="background-color: rgb(255, 255, 0);">0.2</span>);<br>
<br>
TestObject io2 = new TestObject(TestObject.Type.INPUT);<br>
io2.setDoublePropertyValue(TestObject.PARAMETER1, <span style="background-color: rgb(255, 255, 102);">7.3</span>);<br><br> insert(io);<br> insert(io2);<br> fireallrules();<br>
<br>is:<br><b>Rule Init<br>Rule 1<br>Rule 2<br></b><br>Best Regards<br>Thomas<br><br><blockquote><i>Hi,<br><br>Looking at the .drl file, rules 1,2 are updating objects that are part of<br>their conditions. That will loop even with no-loop set to true.<br>
<br>Look at lock-on-active rule attribute, which may solve your issue.<br><br>Best Regards,<br>Michal</i><br></blockquote></div>