[rules-users] Enumeration in Guvnor

Gayatri Chandak gayatri.chandak at tcs.com
Thu May 13 09:02:09 EDT 2010


Hi,

Please check if you are saving your package in Guvnor after you have
created and saved the enumeration.
if the package is not saved, the enum won't be reflected when you are
creating rules.

Regards,
Gayatri Chandak
CEG - Open Source Technology Group
Tata Consultancy Services
Yantra Park -(STPI)
2nd Pokharan Road,
Opp HRD Voltas Center,Subash Nagar
Mumbai - 400 601,Maharashtra
India
Ph:- 022-67782556
Mailto: gayatri.chandak at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                  Business Solutions
                  Outsourcing
____________________________________________


                                                                                                                       
  From:       shekharputtur puttur <shekharputtur at gmail.com>                                                           
                                                                                                                       
  To:         Rules Users List <rules-users at lists.jboss.org>                                                           
                                                                                                                       
  Date:       05/13/2010 05:01 PM                                                                                      
                                                                                                                       
  Subject:    [rules-users] Enumeration in Guvnor                                                                      
                                                                                                                       
  Sent by:    rules-users-bounces at lists.jboss.org                                                                      
                                                                                                                       





Hi All,

i have a  java class 'Car' with attributes ' String color' and 'int value'
inside a package 'example.test'.

I created a model.jar containing 'Car class',uploaded to guvnor for
defining rules.
For 'color' attribute, I created a enumeration like:
'Car.color' : ['red', 'blue','green']
But when i try to define a rule, this enums are not shown as drop down
list.
What would be the problem?
Could anybody give some hints to solve this?
Thanks
Shekar
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you







More information about the rules-users mailing list