[rules-users] Low Date question in drools

Nancy Henggeler nancy.henggeler at fblfinancial.com
Thu Feb 9 11:19:36 EST 2012


I have a simple rule where I want to bypass elements that have a low date but
drools seems to be interpreting the date different then I am expecting. 
Drools statement and error follows:

ClientSupplement ( dateOfBirth : dateOfBirth != null && != 0001-01-01)

throws error -- Error: [Error: badly formatted number: For input string:
"001-01-01"] [Near : {... 0001-01-01 ....}] ^ [Line: 1, Column: 1]

How do I get drools to  understand this low date?  I have tried single,
double, and no quotes around the low date and all result in a similiar error
message.  Please Help!

--
View this message in context: http://drools.46999.n3.nabble.com/Low-Date-question-in-drools-tp3729940p3729940.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list