That is great news. I misunderstood the behavior of the "exists" and
I thought it would only fire once, period. It wasn't a problem with our
limitted test data, but I was thinking it would be a problem once we tested
with large fact sets.
Edson Tirelli-3 wrote:
I'm not sure I completely understood your scenario, but Drools supports
FOL and your scenario can be implemented whatever it is.
I think the best way is giving you some examples:
rule "Fires FOR EACH fact that does not have a corresponding Exception
Fact1($number : number)
not ExceptionRange(startRange <= $number, stopRange >= $number)
// do something
View this message in context:
Sent from the drools - user mailing list archive at Nabble.com