[rules-users] Guvnor test scenarios for rules that use globals
Lisa Horton
LHorton at ABCLegal.com
Thu May 19 19:16:12 EDT 2011
In Guvnor 5.1 I have several rules that invoke services defined as globals. Rules that invoke methods on these globals run OK when deployed, but a test scenario that triggers such a rule gets an exception.
For example, with a global named "logger" a rule that has in its THEN clause:
logger.debug("customer was added to session");
Test Scenario that triggers this rule gets the error:
[Error: unable to access property (null parent): debug]
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110519/146d1f49/attachment.html
More information about the rules-users
mailing list