I have the below rules written but $xyz isn't available or visible in Rule 2.
Is this the way extends keyword works?
rule "test 1"
when
$xyz : XYZ(value == 0);
then
// do somethings
rule "test 2" extends "test 1"
when
eval($xyz.reference == 1)
then
// do something.
Exception:
Error: unable to resolve method using strict-mode: java.lang.Object.$xyz()
--
View this message in context:
http://drools.46999.n3.nabble.com/Extended-rule-doesn-t-have-reference-to...
Sent from the Drools: User forum mailing list archive at
Nabble.com.