How do Query Queue Id, Name in Salesforce Apex? Queues are stored as a Group SObject: For Example: Group groupDetail = [SELECT Id, Name, DeveloperName, Email, Type FROM Group where Continue Reading »