ok,thank you ,let me have a try, your adverse is helpful, thank you! At 2013-10-11 22:17:05,"Wolfgang Laun" <[email protected]> wrote: >Read the section on the "Conditional Element eval" in the Expert >manual (and more of the same manual, especially Chapter 4, Rule >Language Reference). > >-W > >On 11/10/2013, merry0900 <[email protected]> wrote: >> >> 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. >> >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users > >_______________________________________________ >rules-users mailing list >[email protected] >https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
