Are you sure the first rule is fired? I tried out a similar program locally
and it works fine. If the first rule is fired and you are updating the fact
in the consequence of first rule, then certainly the second rule wont be
fired.

On Tue, May 29, 2012 at 12:23 PM, learner <anandbabu6...@yahoo.com> wrote:

> Modifying the condition does not fix the issue
>
> It seems even though the value of b was modified to 10 in the first rule.
> It
> considers b as only blank (initial value) in the When clause of second
> rule.However in sysout the value of b appears properly as 10
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-how-to-use-only-updated-value-in-drools-tp4017628p4017641.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
>



-- 
cheers
Sumatheja Dasararaju
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to