[rules-users] How to use enumeration in web based decision table using Guvnor

Jaroslaw Kijanowski kijanowski at gmail.com
Sat Sep 5 05:18:33 EDT 2009


Hi,

Johan Kumps wrote:
>  
> Hi all,
>  
> I want to use a value list voor e certain fact field in a web based 
> decision table in Guvnor. I created an enumeration in the same package 
> as follows : 'RegistriesInvocationContext.endUser' : ['TRUE=YES', 
> 'FALSE=NO', '=Not to be checked']
> The enumeration has BooleanValues as name
> When defining the rule columns (condition) I put this in the value list 
> field : {endUser:ENUM:BooleanValues} 

leave this filed blank and your enumeration will do the rest automatically.

Cheers,
  Jarek

> where endUser is a field of my fact 
> class. When creating my rules no drop down is being rendered. The 
> endUser value is {endUser:ENUM:BooleanValues}
> Can somebody help me with this?
>  
> Can you give an example?
>  
> Kind regards,
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list