On 20/08/2012, Rana <ven12344(a)yahoo.com> wrote:
Yes, but I don't want all the rules to fire, right.
You told me the drools will take care of what the rules to fire based on
the
request. This is what you told
"
But a rule (as you have it) with
Drug( brandName == "AndroGel" )
will take care of that automaticaliy. This can co-exist with lots of
similar rules for anything between "Aspic" to "Zodiac".
"
But it is firing all the rules for AndroGel, Aspic and also Zodiac.
Well, if there are Drug facts with these brandNames inserted in
Working Memory at the same time, that's to be expected.
If the rules are satisfied for AndroGel rule file, then it should stop the
execution and carry on from the calling method which is fireAllRules().
This is what I want.
Then don't insert many facts at the same time, just one at a time.
-W
Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-fire-rules-of-a-specific-rule-fi...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users