Many thanks for the explanation. It really helped with my problem cheers -- View this message in context: http://drools.46999.n3.nabble.com/function-in-drools-tp4020021p4020051.html Sent from the Drools: User forum mailing list archive at Nabble.com.