Sorry for that. You are correct more information should have been provided to
allow for help. Usually I am better at this but hurried myself a little this
morning....
gboro54 wrote
Thanks for the insight....I was able to figure it out with have the
generic rule listen for modifications to a certain property. The problem
was that the method being invoked by the other more specific rules was
using a convince method to modify the field so I needed to annotate the
method with the @Modifies method.
laune wrote
>
> On 06/06/2012, gboro54 <gboro54@> wrote:
>> I am using drools 5.4 and am running into a weird issue with using
>> modify
>> keyword. I have have two rules, both are similar in conditions(one rule
>> catches 2 additional cases to modify the object with a generic message).
>> Weather I add the checks for each rule into the into the generic rule or
>> have a condition checking the object for the more specific messages to
>> be
>> added, the modify keyword seems to ignore this. In the case where the
>> conditions are added to the generic rule independent the activation is
>> cancelled. Any thoughts?
>
> Yes: post more, or nothing at all.
> -W
> _______________________________________________
> rules-users mailing list
> rules-users@.jboss
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
--
View this message in context:
http://drools.46999.n3.nabble.com/modify-keyword-cancels-activation-unexp...
Sent from the Drools: User forum mailing list archive at
Nabble.com.