[rules-users] DSL field constraint question

vdelbart delbart.v at mipih.fr
Mon Sep 3 02:46:55 EDT 2007


Hi Andy Mei,

In your DSL file you put some parentheses. I think it's the problem. Try
with this :

> [when]There is a person with=person:Person()
> [when]-age is at least {age} years old=age >= {age}
> [when]-age is less than {age} years old=age < {age}
> [when]-must has a name=name != "" && name != null
> [when]-id must be positive integer=id > 0

Good luck,

vdelbart
-- 
View this message in context: http://www.nabble.com/DSL-field-constraint-question-tf4360996.html#a12457145
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list