Do you need to do eval( isNotNull("aaaa")) maybe? -- View this message in context: http://drools.46999.n3.nabble.com/use-a-boolean-returned-type-function-in-when-doesn-t-work-why-tp4026339p4026340.html Sent from the Drools: User forum mailing list archive at Nabble.com.