[rules-users] Enumeration in Guvnor

shekharputtur puttur shekharputtur at gmail.com
Fri May 14 00:38:52 EDT 2010


Hi Gayatri,
Thanks a lot for your kind response.
Now its working properly.
But,when i see the package source, i could see only import statements and
defined rules.
It does not have enums i have created. How to have a backup of all assets
defined in guvnor then?
Any other steps should i follow to get all assests in one package?

Could pls tell me ?
Thanks


On 5/13/10, Gayatri Chandak <gayatri.chandak at tcs.com> wrote:
>
> 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
>
>
>
>
> _______________________________________________
> 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/20100514/00a8c94e/attachment.html 


More information about the rules-users mailing list