Skip to content
zhaber edited this page Aug 1, 2012 · 3 revisions

Grules rules scripts support a variable declaration. The syntax is identical to what is used in usual Groovy scripts, for example:

a = 1
id gt(a)

male = ValidationUtils.MALE
gender eq(male)
Clone this wiki locally