[rules-users] Guvnor and Global Functions

Dean Whisnant dean at basys.com
Tue Dec 4 14:51:38 EST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121204/e80249af/attachment.html 


More information about the rules-users mailing list