function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShafiShafi 

can't query 'QueueRoutingConfig' on group sobject for type = 'queue' in developer console or workbench

I want to run a query to find out how many queues have routing configuration associated with them.
SpencerCCurtisSpencerCCurtis

The documentation here (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_group.htm) has the incorrect field name.

Try replacing `QueueRoutingConfig` with `QueueRoutingConfigId`

SELECT Id, Name, DeveloperName, QueueRoutingConfigId, Type
FROM Group
WHERE Type = 'Queue'