[rules-users] use a boolean returned type function in "when", doesn't work, why?
merry0900
m1e1r1r1y at 163.com
Fri Oct 11 09:55:11 EDT 2013
my drl file like this:
import ********
function boolean isNotNull(String a){
if(a!=null){
return true;}
return false;
}.
rule a
when
isNotNull("aaaa");
then
// mycode
end
how i could use like this, thank you all
--
View this message in context: http://drools.46999.n3.nabble.com/use-a-boolean-returned-type-function-in-when-doesn-t-work-why-tp4026339.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list