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

Rob21 rob.perrez at gmail.com
Sun Sep 2 08:18:47 EDT 2012


Also, with the "before" keyword in place of "after", the problem is
different, it considers all events as the start event.

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



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


More information about the rules-users mailing list