[rules-users] Issue with Rule X1 extends X2

arul.prashanth at gmail.com arul.prashanth at gmail.com
Thu Mar 28 20:20:50 EDT 2013


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.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list