I have a very simple case that does not seem to work. The timer works
correctly as an int or cron but it seems to ignore the when part. here is
the rule...
rule "Database Processing Cron"
timer ( cron: 0/15 * * ? * * * )
when $c : CronJennie()
eval( $c.hasInitialRunOccured() == false )
then
logger.info( "Database processing initial run..." +
$c.hasInitialRunOccured());
$c.setInitialRunOccured();
update($c)
end
-----------------------------------------------------------------------------------------------
i have also done the when as:
$c : CronJennie(hasInitialRunOccured() == false )
I am using the lates version 5.4.0 beta2, any ideas?
Thanks for any insight
--
View this message in context:
http://drools.46999.n3.nabble.com/Timer-int-cron-ignore-when-statement-tp...
Sent from the Drools: User forum mailing list archive at
Nabble.com.