You should provide more details about what "condition2" is: does the function() use/need some data from the objects satisfying it?
Assuming the answer is "no", you might try with "exists condition2" rather than just "condition2". Davide -- View this message in context: http://drools.46999.n3.nabble.com/Calling-a-function-from-When-part-tp4018987p4019001.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users