how to query queue in salesforce code example Example: apex query queue select Id from Group where Type = 'Queue'