I am trying to use the new 3.0.4 feature field constraints. I have 

[when]A Policy=status : PolicyStatus()
[when]- expires within {n} days=eo1 : expiresOn\
        eval(eo1.compareTo(DateUtils.add(Calendar.DATE, DateUtils.now(), {n})) 
<=
0)

I am getting Unexpected token eo1. Michael Neale once said that eval must be
used where things can change over time. I have tried lots of combinations so
am just asking before I keep trying, are evals supported in field
constraints?
-- 
View this message in context: 
http://www.nabble.com/Field-constraint-and-eval-tf2495280.html#a6956579
Sent from the drools - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to