learner wrote > > Thanks for the reply. > > Please find a basic structure of my drl file > > rule "set b value" > salience 10 > no-loop > when > e : Person(b == " "); > then > //use this to get value in an another rule > e.setB("10"); > insert(e); > end > > rule "b other than 10" > salience 1 > no-loop > when > e : Person(b != 10) > then > System.out.println("error"+e.getB()); > end >
-- View this message in context: http://drools.46999.n3.nabble.com/rules-users-how-to-use-only-updated-value-in-drools-tp4017628p4017634.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users