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 <pravin.borekar(a)gmail.com> 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-packa...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users