All,<br><br>I have the following rule:<br><br>rule "Repayment Code Requires Approval"<br> salience 60<br> <br> when<br> repaymentCode : RepaymentCode( code == "MD", matchApprv == "Y" )
<br> mdOutput : ModelDiscrepancyOutput( $amt1 : sumRTVQty, $amt2 : sumCmAndRnr)<br> eval($amt1.doubleValue() == $amt2.doubleValue())<br> then <br> System.out.println("Repayment Code Requires Approval");
<br> processMDAdjustments(drools.getWorkingMemory().getQueryResults( "MD Adjustments" ), StatusConstants.APPROVAL);<br> System.out.println("mdOutput: " + mdOutput);<br>end<br><br>If I remember correctly, there was going to be an update to the rules language that would allow me to eliminate the eval. Is this true and if so what is the syntax that accomplishes this?
<br><br>Ron<br>