[rules-users] DSL field constraint question

Andy Mei andy.d.mei at gmail.com
Tue Sep 4 12:03:52 EDT 2007


Hi Vdelbart,

  Awesome, you nailed it!  Thanks!

Andy

On 9/3/07, vdelbart <delbart.v at mipih.fr> wrote:
>
>
> 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.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070904/6891652c/attachment.html 


More information about the rules-users mailing list