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-tp3...
Sent from the Drools: User forum mailing list archive at
Nabble.com.