# What is Omni-Channel routing and how does it optimize support agent workload distribution?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Omni-Channel, Routing

Read it on the site: https://www.forcechallenges.com/interview-questions/what-is-omni-channel-routing-and-how-does-it-optimize-support-agent-workload-distribution

## Answer

**Basics:** Without Omni-Channel, agents pull cases from a queue view, which causes cherry-picking and uneven load. Omni-Channel tracks each agent's status and how much work they hold, then offers the next item to the right person, so urgent work is served first and no one is overloaded.

**How it works:** Setup path: enable Omni-Channel; create Service Channels (one per object type); create Presence Statuses (Available, Busy, Offline) tied to channels; create Presence Configurations (capacity such as 10 units, auto-accept, decline options) and assign them to users or profiles; create Routing Configurations (priority, units per item, model Least Active or Most Available, push timeout); attach the configuration to a Queue; add the Omni-Channel utility to the app. When a record lands in the queue (or an Omni flow routes it), Salesforce creates `PendingServiceRouting`, finds eligible agents, creates `AgentWork` and pushes the notification.

**Advanced / deep dive:** Capacity models: status-based or tab-based, with units counted against presence configuration capacity. Routing options: queue, skills, specific agent, bot, and external routing for custom engines. Omni-Channel flows (the Route Work action) are the modern way to apply logic such as VIP priority or language skills. Supervisors use Omni Supervisor to monitor queues and reassign. Tune push timeout and decline behavior to avoid work bouncing, and use priority so SLAs, not arrival order, decide. Omni-Channel data (`AgentWork`, `UserServicePresence`) feeds utilization and AHT reporting. Voice and messaging use the same engine, so capacity is shared across channels.

**Code / config example:**
```sql
-- Current open load per agent (monitoring)
SELECT UserId, COUNT(Id) openItems
FROM AgentWork
WHERE Status = 'Opened'
GROUP BY UserId
ORDER BY COUNT(Id) DESC
```

**Hidden gotchas & must-remember points:**
- Routing only happens when the agent's presence status is mapped to the channel and capacity remains.
- A queue without a routing configuration does not push work.
- Capacity units are relative: item weight and agent capacity must be set in the same scale.
- Work items must be owned by the queue, not an individual, to be routed.
- Declined or timed-out work re-routes, so tune push timeout.
- Omni-Channel is not the same as case assignment rules; assignment rules only set the owner or queue.

**Best practice:** Start with a simple routing configuration per queue, add priority and skills only after measuring wait times, and monitor with AgentWork data.

---
Source: ForceChallenges · last updated 2026-11-02
