With Omni-Channel serving a lead queue, no person owns the lead until an agent accepts it. Until then it waits, and the queue usually stays the owner.
Why leads wait
- Nobody available. Agents are offline, or at capacity, so nothing is offered.
- Offers declined or timed out. A push that times out goes back to waiting.
- The queue has no routing configuration, or the wrong one. The leads land in the queue and are never pushed.
Check it yourself
SELECT Id, WorkItemId, CreatedDate, IsPushed, IsPushAttempted, QueueId FROM PendingServiceRouting WHERE ServiceChannel.RelatedEntity = 'Lead'
SELECT Status, COUNT(Id) FROM AgentWork WHERE ServiceChannel.RelatedEntity = 'Lead' AND CreatedDate = LAST_N_DAYS:7 GROUP BY Status
Old rows in the first query are leads still waiting. In the second, statuses such as Declined and DeclinedOnPushTimeout show offers nobody took. Check the status values your org returns.
The free scan cannot count the live Omni-Channel queue. It checks the setup behind it.
Decide from the push fields
IsPushAttempted shows whether routing has tried to push the item. Split the old rows by it.
- Not attempted: nothing tried to route it. Check that the queue has a routing configuration, and that the service channel covers Leads.
- Attempted, not pushed: routing tried and nobody took it. Check who is online, and whether they are at capacity.
A worked example
A made-up result: 12 old pending items. 9 were never attempted and 3 were attempted.
The nine point at the queue setup. Fix that first, because it affects every lead sent there. The three point at availability. They may clear on their own once someone is online.
Steps
- Run the first query and keep the rows older than the wait you accept.
- Split them by
IsPushAttempted. - For the not-attempted group, open the queue and its routing configuration.
- For the attempted group, check agent presence and capacity at the hours the leads arrived.
- Run the second query a week later. Fewer
DeclinedandDeclinedOnPushTimeoutrows means it worked.
Related: Salesforce queue not receiving leads and Salesforce reps cannot see the leads in their queue.
A weekly check for the pending list
Run this each week. It uses only the two queries above. See the queue checklist for the setup side.
| Week | Old pending items | Never attempted | Declined |
|---|---|---|---|
| 1 | 12 | 9 | 5 |
| 2 | 4 | 1 | 6 |
These numbers are made up. A falling never-attempted count means the setup fix worked.
Questions for the team that staffs the queue
Ask these of whoever staffs the queue. See leads stuck in a queue for what a long wait costs.
- At which hours do leads arrive, and who is online then?
- What capacity does each agent have, and who set it?
- What happens to an offer that times out?
- Who looks at the pending list, and how often?
Write the answers beside the table. A pending item with no named watcher waits longest.
Questions
Why do leads in my queue never appear in Omni-Channel?
The queue has no routing configuration, or the service channel does not cover Leads. Check IsPushAttempted on PendingServiceRouting. A row not attempted means nothing tried to route it.
Have it checked every night instead.
Routing Forensics connects as a read-only user and checks this, and the rest of your routing, against your real leads. Three design partners get a free health report on their own CRM, free for 90 days: what is leaking, where, and what it is worth. Apply for a place.
The free scan cannot count the live Omni-Channel queue. It reads your routing setup in your browser. Scan your Salesforce or HubSpot routing. The nightly check, open to design partners, counts it.