Hi,

   Did you tried this?

rule X
when
    $a : A()
    not( B( this $after[0,5m] $a ) )
then
    // perform xyz
end 

   Edson

2010/7/19 Mike Love <mike.love@symbiotics.co.za>

Hi,

 

I have a requirement to identify events added to a stream that are older that x minutes. E.g. Event A is added to the stream and when event B is added then event A is removed, if no event B is added within 5 minutes of event A being added then perform xyz().

 

Any assistance would be greatly appreciated.

 

 

Regards,

Mike

 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com