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