Also, the use of doubles in an == test is problematic. Not that it would cause this
particular problem, but it will cause others.
GreG
On Nov 13, 2010, at 11:52, Wolfgang Laun <wolfgang.laun(a)gmail.com> wrote:
Are you using the latest (5.1.1) release?
Is the duplicated rule in another DRL file and does it have exactly the same name? If so,
it simply overwrites the first rule.
If it's different, please create a JIRA with a minimized example reproducing the
error.
-W
On 13 November 2010 14:12, balagh <bala.ganesh(a)accenture.com> wrote:
Hi,
Below is the DRl used. When i have two different rules with the same below
DRL, only one rule is getting executed. I could find that in my logs. If i
change the line to Ransome(amr <= 10) in any one of the rule, both of them
are getting executed.
I am having the rules in db and the execution trace log will have the rules
no which gets executed
Rule "rule -1"
when
loose : Loose()
ransome : Ransome(amt == 6.15) from loose.getRansomeArray(0)
util : Util()
then
util.doIt(loose, "Hello");
end
Thanks,
Bala
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Rules-selection-logic...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users