Target selection object has as target skill expression like “Product >0 & Language>0” so only agents having both this skills (of any level) are potential targets. And selection critetia (statistic) the expression like
‘($(StatTimeInReadyState) - Language * 1000)’ with selection criteria selectMax to be used.
Agents having higher value of this expression will be selected (skill value in this expression is subtracted here to make lower value meant more skilled agent).
If Agent1 and Agent2 both ready Agent1 has Language as 4 and ready for 1 min and Agent2 has Language as 2 and waiting for 30 sec then for Agent1 the statistic value will be 90-4000= -3910 ands for Agent2: 30-2000 = -1970 and Agent2 will be selected.