The only way to do that in Guvnor is to add your model into the Global Area and then import the model in each of your packages using the "import from global area" option.
Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Dec 8, 2011 at 6:40 AM, srinivasasanda <[email protected]>wrote: > Hi All, > > I'm using Drools 5.0.1.I've declared two packages in Drools Guvnor > Package1 and Package2.I declared one Model named as TestModel in Package1. > > Now,I created a business rule named as testrule in Package2.Now,while > adding > conditions to this rule in when clause,I need to get the TestModel from > Package1.How it is possible? > > It means I should use the same Model across different rules in different > packages.How it is possible.Please help me.I'm struggling in this.. > > Thanks > > -- > View this message in context: > http://drools.46999.n3.nabble.com/How-to-use-single-Model-in-different-rules-across-different-packages-tp3569485p3569485.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
