David, below are the content of the DRL's and have attached the full error
trace herewith.
error.txt <
http://drools.46999.n3.nabble.com/file/n4023225/error.txt>
*Base DRL*
/package com.poc.test;
declare Test1
code : String;
end
ruleflow-group "FLOW1"
rule "INITIALIZE|test"
salience 999999
when
then
insert(new Test1());
end
rule "BASE|5.1"
enabled false
dialect "java"
when
$test : Test1();
$vehicles : Vehicles();
$vehicle : Vehicle() from $vehicles.Vehicle;
then
// do nothing, extending rule to implement
end/
*Custom DRL*
/
package com.poc.test;
ruleflow-group "FLOW1"
rule "TX|5.1" extends "BASE|5.1"
dialect "mvel"
when //use base condition
then
// some update
update($vehicles);
end/
-----
- Prashanth
--
View this message in context:
http://drools.46999.n3.nabble.com/Abstracting-Rules-using-extends-tp40232...
Sent from the Drools: User forum mailing list archive at
Nabble.com.