[rules-users] Absence Pattern question

wendy w.mungovan at yahoo.com
Tue Jul 5 08:19:59 EDT 2011


Thanks,
  This did it:

rule "AnoB"
timer(int: 3m)
  when

   $a: A()
  not($b: B( this after[-1ms] $a))  
then 

 ....

I needed to add [-1ms] so it would not match things with A and B at the same
exact time.

--
View this message in context: http://drools.46999.n3.nabble.com/Absence-Pattern-question-tp3140377p3140552.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list