[rules-users] rules getting fired in an infiniteloop even when noloop is set to true

ABRA abarnaramachandran at gmail.com
Tue Sep 8 00:18:04 EDT 2009


i have my rule as

rule AssignSomething
no-loop true
when
  $ao:AssertionObject()
  $ssc:String() from getSSC(getRecordData($ao,"stationNo"))
  eval(!($ssc==null))
then
  modify($ao){setBillingRecord("posId",$ssc);}
   info(BillingRecordHelper.SSCPOC_ASSIGNED_INFO,log);
end


Here i am setting values for the assertionobject in my rhs. Even when
no-loop is true, this goes into an infinite loop.
what am i doing wrong?

thanks
Abarna
-- 
View this message in context: http://www.nabble.com/rules-getting-fired-in-an-infiniteloop-even-when-noloop-is-set-to-true-tp25339751p25339751.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list