hi frnds i am having problem with update() method when i call update method from first rule it calls second rule and goes in infinite loop calling the second method rule again and again why is it so ??
rule "Area_EstimatesRval4_10-01-09_12-31-14" date-effective "01-Oct-2009" date-expires "31-Dec-2014" salience 5 no-loop true when objectP2483 : Para_2483( (fid2329>=0); then objectP2483.setFid2339(objectP2483.getFid2338() *3.1);update(objectP2483); rule "Area_EstimatedRval_test_10-01-09_12-31-14" date-effective "01-Oct-2009" date-expires "31-Dec-2014" salience 5 no-loop true when objectP2483 : Para_2483( fid2339>0); then System.out.println("Area_EstimatedRval_test_10-01-09_12-31-14"); objectP2483.setFid2339(objectP2483.getEid2143()); update(objectP2483); end
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users