Try mySolution.getScore().getHardScore() == 0 -- View this message in context: http://drools.46999.n3.nabble.com/drools-planner-5-3-0-Final-Sorting-successfully-planned-entities-tp3471628p3472238.html Sent from the Drools: User forum mailing list archive at Nabble.com.