[rules-users] Get maximum

nemo ogon2 at ya.ru
Mon Jan 24 04:51:05 EST 2011


Thanks you a lot for a answers. Now, I wrote a rule:

rule "Get last event"
when 
        $last : ObjectEventType( $time : eventTime  )     
        not ObjectEventType( eventTime > $time ) 
then 
       System.out.println("Oldest person is " + $last.getEventTime());

Unfortunately I get "Syntax error, insert ";" to complete Statement, Syntax
error, insert ")" to complete Expression" have you an idea, what's wrong?
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Get-maximum-tp2318296p2318514.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list