[rules-users] before/after behavior for negative pattern

Rob21 rob.perrez at gmail.com
Mon Sep 3 08:37:57 EDT 2012


Hi again,
I tried using 5.3 and I noticed the "before" keyword has the same problem as
5.4 :

rule "Detect it"
when
    $start : RawEvent()
    not RawEvent(this != $start, id == $start.id, this before[0ms, 90s]
$start)
then
    System.out.println("detected: " + $start);
end

Gives a null pointer exception.
Is this really a bug ? Or am i misusing the "before" keyword ?



--
View this message in context: http://drools.46999.n3.nabble.com/before-after-behavior-for-negative-pattern-tp4019497p4019549.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list