There's no reason why rule A firing or not firing should have any
effect on rule D, and vice versa. Only the rules being in the same
activation-group affect each other, i.e., the first one to fire
cancels any pending activations of rules from the same group.
For rule D to fire, it's condition must be fulfilled without rule C
firing beforehand, due to its higher salience.
-W
On 19/01/2013, suddeb <sudipta.deb(a)gmail.com> wrote:
Hi,
Suppose I have the below rules:
*Rule "A"
salience 100
When
then
end
Rule "B"
activation-group "AC1"
salience 100
when
then
end
Rule "C"
activation-group "AC2"
salience 100
when
then
end
Rule "D"
activation-group "AC1"
activation-group "AC2"
salience 90
when
then
end*//
Now the scenarios are:
*If B, then no D*, which is happening correctly
*If C, then no D*, which is happening correctly
*If A, then D*, /This is what is not happening./
Could you please let me know how can I achieve this?
If more information required, please let me know. Thanks.
Regards,
Sudipta Deb.
--
View this message in context:
http://drools.46999.n3.nabble.com/Need-explanation-for-activation-group-a...
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