are you updating or modifying any LoopDetectorEvent() event?
Greetings.
What did you see in the logger output?
Hello folks.
Got a new characteristic unveiled,...
if I have a rule like this (with Fusion in STREAM mode)...
(Sensor is a fact)
rule "Test"
timer(int: 7s 7s)
when
$sensor : Sensor()
Number($avg : doubleValue > 0.0) from accumulate
(LoopDetectorEvent($vel : velocity, sensor == $sensor) over
window:time(7s), average($vel))
then
...
end
...Drools fires the rule correctly every 7 seconds for each Sensor fact.
BUT, it sometimes fires twice for random Sensors.
This is of course not intended. Is this a bug or can this behaviour be
explained?
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/timer-and-duration-tp2057403p2425240.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users