[rules-users] Drools NOW

senyatur senya.touretski at emc.com
Mon Apr 2 03:12:43 EDT 2012


yep
But as far as I understand (and that's how we are using it) window:time
defines the time window of the sample events to be inserted in the Drools
session. What I'm looking for is a way to define rule that will say
something like this:
class A{
     Date aTime;
}

rule:
when
$a:A(aTime > current_time)
then
write_log_or_smth_else

And that is what we are unable to find. Hope it is more clear now...

--
View this message in context: http://drools.46999.n3.nabble.com/Compare-with-current-time-in-Drools-tp3875148p3876946.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list