[rules-users] Business rule name weirdness

Scott Reed sreed at avacoda.com
Tue Jun 24 22:15:13 EDT 2008


Can you verify that you are not running a compiled version of the old 
rules (perhaps by adding System.out.println("New version"); to the LHS 
in the new rules)?

Keith Bennett wrote:
> Does anyone have any idea why drools.getRule().getName() inside of the
> rule consequence would be returning the old business rule name?  I
> renamed the business rule, and I am seeing through testing that the
> old name is being resolved by Drools at runtime, not the new one.
> What the heck is going on?  I am using the Drools 4.0.7 libraries.
>
> Keith




More information about the rules-users mailing list