Mike, Thank you. I'd swap to 5.5.0 in an instant if I knew it could import all of my Guvnor data from 5.1.1. I know back when 5.2.0 came out the guided rules wouldn't import properly, has that changed?
At this point I have thousands of rules in a couple hundred different packages, with 30+ customers accessing the rules at any one time. We would love to keep up to date, but the import not working is holding us back. Thanks Dean From: [email protected] [mailto:[email protected]] On Behalf Of Michael Anstis Sent: Tuesday, December 04, 2012 4:16 PM To: Rules Users List Subject: Re: [rules-users] Guvnor and Global Functions Sure, no problem. Go to the package you require the globally shared asset to be within. Select "Create New Asset" and then the option to import from the Global Area. 5.1.1 is *really* old and you're running a risk of getting next to little support here, as we concentrate our efforts on the later releases. 5.5.0.Final (or 5.4.0.Final if you don't want the latest and greatest) is vastly superior and I would recommend you giving it a try. With kind regards, Mike On 4 December 2012 20:07, Dean Whisnant <[email protected]<mailto:[email protected]>> wrote: Michael, Thank you for the answer, but can you give me an example of how I might be importing the Function from Global Area. I'm assuming I would go the package screen for V222 (and other packages) and would use the Advanced view to add an import statement, but I'm not sure I understand how to form this import statement. Thanks Dean From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Michael Anstis Sent: Tuesday, December 04, 2012 3:01 PM To: Rules Users List Subject: Re: [rules-users] Guvnor and Global Functions Global Area is a place for shared assets. This said, however, you still need to import them from the Global Area into individual packages. Think of the import as a symlink\shortcut to the shared asset. On 4 December 2012 19:51, Dean Whisnant <[email protected]<mailto:[email protected]>> wrote: I'm using Drools/Guvnor version 5.1.1. In the Global Area of Guvnor, under functions, I've created a function called splitDiagnosis. In another package, we'll call it V222, I have a rule called LoadDiag. In the Then section of the rule, I set the value of a field "=splitDiagnosis(diag,type)" When run through our live software, the rule errors out because it evidently does not see the global area. If the rule is in the local package, then it works properly, but I have dozens of packages that all need access to this function and I don't want to keep copying it from one package to another. I must be missing something to tell package V222 to include the global area. Any thoughts? Thank you, Dean Whisnant _______________________________________________ rules-users mailing list [email protected]<mailto:[email protected]> https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected]<mailto:[email protected]> https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
