[rules-users] Wrting .drl code in DSLR
Bala
bala.ganesh at accenture.com
Tue Jan 11 06:48:19 EST 2011
Sorry, I missed the explanation......
The function definition and call should be in dslr.
Can i define my dslr in the below format?
sample.dslr
*********
rule "name"
when
There is a Customer
eval(isDiscountAllowed($Customer)) // function call
then
Log : "Message"
end
// function definition
function boolean isDiscountAllowed(){
return true;
}
Can i have the drl kindof coding in DSLR?
Thanks,
Bala
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Wrting-drl-code-in-DSLR-tp2233167p2233854.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list