Query records assigned to a Queue

Query records assigned to a Queue In Salesforce


Query Leads with a particular owner name

SELECT Id,Name FROM Lead WHERE Owner.Name = 'Qualified Queue'


To get the Queue Id by using the DeveloperName

SELECT Id,Name from Group WHERE Type = 'Queue' AND DeveloperName = 'SomeQueue'

Comments