[rules-users] Absence Pattern question

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jul 5 08:30:31 EDT 2011


On 5 July 2011 14:19, wendy <w.mungovan at yahoo.com> wrote:

> 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.
>

Hmm, truly a borderline case :)

Thanks for the feedback!
-W


>
> --
> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110705/c1e620ba/attachment.html 


More information about the rules-users mailing list