Re: [rules-users] How to use GlobalArea enum inside package defined rules
Thanks for the reply. Actually I was trying to work it out the REST API way, I used for my other purpose. I understand that Global area wont be accessible directly, but couldnt find related content on net. Since I am a beginner to drools, am still working on importing the assets from Global Area... Thanks, Pravin -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-GlobalArea-enum-inside-package-defined-rules-tp3447360p3448092.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] How to use GlobalArea enum inside package defined rules
AFAIK, you still need to import the asset from the Global Aarea into your package. Think of it like creating a symlink\shortcut between the Global Area and your package - changes to the asset in the Global Area will be visible in your package. Assets in the Global Area are not automatically visible to all packages. On 24 October 2011 08:20, pravinborekar wrote: > Hi, > > Would like to use GlobalArea enumeration - 'Member.title': ['Mr.', > 'Miss'] > > in my custom package rule. Am trying to access it in DSL rule (as we want > guided editor to use enum), like {title:ENUM:Member.title} > > If I create above enum in custom package, am able to do it cleanly. > Also tried using --- {title:ENUM:GlobalArea.Member.title} , but it didnt > work. > > Need help on how to access the global area enum, as we need to use the same > across many packages. > > > Regards, Pravin > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/How-to-use-GlobalArea-enum-inside-package-defined-rules-tp3447360p3447360.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] How to use GlobalArea enum inside package defined rules
Hi, Would like to use GlobalArea enumeration - 'Member.title': ['Mr.', 'Miss'] in my custom package rule. Am trying to access it in DSL rule (as we want guided editor to use enum), like {title:ENUM:Member.title} If I create above enum in custom package, am able to do it cleanly. Also tried using --- {title:ENUM:GlobalArea.Member.title} , but it didnt work. Need help on how to access the global area enum, as we need to use the same across many packages. Regards, Pravin -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-GlobalArea-enum-inside-package-defined-rules-tp3447360p3447360.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users