[rules-users] How to use GlobalArea enum inside package defined rules

2011-10-24 Thread pravinborekar
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


Re: [rules-users] How to use GlobalArea enum inside package defined rules

2011-10-24 Thread pravinborekar
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