How to count how many users are waiting for service in a specific queue?
2 answers
Thank you for your answer, but this query counts all queues, for the count a specific queue I used this query:
select count() from PendingServiceRouting where Queue.Name = :NAME_QUEUE
reference: https://trailhead.salesforce.com/pt-BR/trailblazer-community/feed/0D54S00000Ch2SeSAJ