Re: [rules-users] Rule looping question

2010-03-10 Thread Glenn Macgregor
2010 12:55 To: Rules Users List Subject: Re: [rules-users] Rule looping question Hi Glenn, I'm going to start with the looping issue. The quick answer is use lock-on-active instead of no-loop. This is the important bit of code as far as I'm concerned: $t

Re: [rules-users] Rule looping question

2010-03-10 Thread Enda J Diggins
Hi Glenn, I'm going to start with the looping issue. The quick answer is use lock-on-active instead of no-loop. This is the important bit of code as far as I'm concerned: $tholdBreach : Parameter.Threshold(windowSize == 15, threshold >= $averageUpdateValue) *from* $

[rules-users] Rule looping question

2010-03-10 Thread Glenn Macgregor
Hi All, I am in the process of creating some rules for a POC I am doing using drools, having some issues understanding why I have an infinite loop in a rule. Rule in question: rule "Check Parameter Threshold Update Breach" no-loop true when ParameterUpdateEvent($name : n