That's right, globals are not defined in each rule but in the package configuration window.
Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2011/8/13 Michael Anstis <[email protected]> > You can set globals in the "Package configuration" screen within Guvnor; > i.e. click on the package in the tree-view. > > With 5.2 (and before) the package configuration screen appears in the main > Guvnor window, with 5.3.Beta1 you'll need to additionally click on the "View > package configuration" button. > > With kind regards, > > Mike > > On 13 August 2011 15:19, cross.cy <[email protected]> wrote:"P > > Hi Esteban, thanks for the reply. I created the "Service Layer" in my >> project >> containing the interfaces. Then I packaged them into a jar file and >> uploaded >> to Guvnor. Guvnor put it into a model and then I promote it to Global. >> However, when I write a rule, either business rule or technical rule in >> Guvnor, it seems like the starting point is always "When". I didn't find a >> place to put the "global com.some.package.EmailService emailService" >> declaration before the rule. I tried to use EmailService, which is the >> model >> name in the Global area directly in RHS of my rule but Guvnor threw out >> error on that. Could you please indicate how this can be done in Guvnor? >> >> Thanks and best regards >> >> Yu >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/Dummy-question-from-a-new-comer-tp3248102p3251581.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 > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
