[rules-users] how to use only updated value in drools

learner anandbabu6545 at yahoo.com
Tue May 29 07:05:31 EDT 2012


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
    e.setB("10");
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-tp4017628p4017633.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list