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

sumatheja sumatheja at gmail.com
Tue May 29 07:33:07 EDT 2012


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 <anandbabu6545 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
cheers
Sumatheja Dasararaju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120529/a8e229bf/attachment.html 


More information about the rules-users mailing list