Get cases by queue