[rules-users] drools error: Unable to create restriction
sam
parishi at gmail.com
Tue Aug 16 16:11:29 EDT 2011
The script doesn't work if I have fields that are defined in the parent class
are compared against the fields that are parent's inner class.
The script works fine if I change my script to the following (assuming
testVal1 is defined in the innerBean).
package droolsbook.dsl;
import com.wellsfargo.mortgage.camr.model.hibernate.*;
import com.wellsfargo.mortgage.camr.model.service.drools.*;
rule "Threshold rule 1"
when
$bean: ValidationBean ( innerBean.testVal1> innerBean.testVal )
then
--failure
end
--
View this message in context: http://drools.46999.n3.nabble.com/drools-error-Unable-to-create-restriction-tp3259055p3259759.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list