Could the rules be changing the values outside of a modify block?


Please try this (untested) rule as a test. 

It binds the value on the left hand side.


 rule "netRepaymentWithLiabilities1TEST"
      agenda-group "autoUnderwriting"
      when
          ea: EnrichedApplicationVersionTO(amount :  
    netRepaymentAmountAbilityIncludingLiabilities
 <= 0.65)
          decision: Decision()
      then
          System.out.println("!!!!!!!!!!!!!!! " + amount + 
          " !!!!!!!!!!! " + 
          ea.getNetRepaymentAmountAbilityIncludingLiabilities() );
          decision.setDecision("APPROVED", "NetRepaymentWthLiblt");
 end



_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to