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

Bharadwaj N bharadwaj2012 at gmail.com
Tue May 29 06:39:51 EDT 2012


can u please share ur drl file?

On Tue, May 29, 2012 at 4:05 PM, Vincent LEGENDRE <
vincent.legendre at eurodecision.com> wrote:

> what is the initial value of b ?
> what are the salience of your rules ?
> and why not posting your rules directly ?
>
> ----- Original Message -----
> From: "learner" <anandbabu6545 at yahoo.com>
> To: rules-users at lists.jboss.org
> Sent: Mardi 29 Mai 2012 12:29:28
> Subject: [rules-users] how to use only updated value in drools
>
> I am having a drl file with 2 rules
>
> The 1st rule updates a attribute, say updates attribute b to 10 based on
> some condition.
>
> The 2nd rule has a check for values with b not equal to 10. It logs error
> for those values not equals to 10.
>
> The b value gets updated to 10 in rule 1. However in the second rule it
> does
> not use updated value and logs error.
>
> Is there a way to use the updated b value in the 2nd rule. I tried using
> modify but still the error gets logged.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/how-to-use-only-updated-value-in-drools-tp4017626.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
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120529/6da1ab38/attachment-0001.html 


More information about the rules-users mailing list