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

Johan Kumps johan.kumps at telenet.be
Sat Sep 5 10:05:07 EDT 2009


Thanks, it's working fine now.

Johan,

2009/9/5 Jaroslaw Kijanowski <kijanowski at gmail.com>

> 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
> _______________________________________________
> 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/20090905/7eecb3c9/attachment.html 


More information about the rules-users mailing list