[rules-users] how to use only updated value in drools
bharadwaj2012
bharadwaj2012 at gmail.com
Tue May 29 07:09:44 EDT 2012
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.
More information about the rules-users
mailing list