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-tp4025036p4025044.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

Reply via email to