When two rules recide within a same drl extends works as expected.
rule "Base_Rule|1.1.2"
enabled false
when
$bdy : BDY()
Vehicles()
then
System.out.println(" >>>> 222 "+$bdy);
end
rule "TX_Rule|1.1.2" extends "Base_Rule|1.1.2"
when
then
System.out.println(" >>>> TX 222 "+$bdy);
end
When the super rule recides in a different DRL and child rule in a different
DRL the parent rule is not fired
rule "TX_Rule|1.1.1" extends "Base_Rule|1.1.0"
when
BDY();
then
System.out.println(" >>>> TX 111 "+$bdy);
end
Any thoughts ??
--
View this message in context:
http://drools.46999.n3.nabble.com/Issue-with-Rule-X1-extends-X2-tp4023114...
Sent from the Drools: User forum mailing list archive at
Nabble.com.