[rules-users] Guvnor Enumerations for integers?

Zoltan Farkas zoly at daxtechnologies.com
Tue Feb 24 20:10:53 EST 2009


I would like to have a enum like:

 

'Event.severity' : [''1=Information', '2=Warning', '3=Critical']

 

Where Event.severity is a int.

 

However the guided rule builder puts my ints in ""

 

Like:

                        e : Event( severity > "1" )

 

are the enums supposed to work only with Strings?

 

thanks

 

--zoly

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090224/b55cf2c7/attachment.html 


More information about the rules-users mailing list