I think this would work:
rule "geo_map2"
when
Creative($id : id, geo_type == 1, geo_mapList.size() == 0)
then
System.out.println("geo_map2 fail for CreativeId--"+$id );
end
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-check-HashSet-size-in-drool-tp40...
Sent from the Drools: User forum mailing list archive at
Nabble.com.