On 29/05/2012, learner <anandbabu6...@yahoo.com> wrote: > Please find a basic structure of my drl file > > rule "set b value" > salience 10 > no-loop > when > e : Person(b == " "); > then > ############## e.setB("10");
modify( e ){ setB( "10" ) } Otherwise the Engine doesn't know about the change. Read the Expert manual - this is fundamental. -W > end > > rule "b other than 10" > salience 1 > no-loop > when > e : Person(b != "10") > then > System.out.println("error"+e.getB()); > end > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users