What is the difference between queue-based routing and skills-based routing in Service Cloud?
Answer
Basics: In queue routing you create queues (for example Billing, Tier 1), put agents in them, and either have agents pull work manually or let Omni-Channel push it. Skills-based routing adds a competency layer: Skills such as "Spanish" or "Networking" are assigned to Service Resources; work items declare required skills, so only qualified agents receive them. It reduces transfers and mis-routing.
How it works: Queue-based: Setup > Queues (supported objects), Routing Configuration (priority, capacity units per item, model Least Active or Most Available), link the configuration to the queue, enable Omni-Channel, Presence Statuses and Configurations. Skills-based: create Skills (Setup > Skills), assign them to agents (Service Resource records with skill levels), then route through an Omni-Channel flow (Route Work action, type Skills) or by creating PendingServiceRouting and SkillRequirement records.
Advanced / deep dive: Skills-based routing still honors agent presence and capacity; skills only filter the candidate set. Routing models: Least Active (fewest open items) and Most Available (highest unused capacity); external routing is available for custom engines. Mixed strategies are common: route to a queue first and fall back to skills, or use a flow that checks case fields to decide. Skill levels, additional "or"-style conditions and skill expiry exist, but keep skill taxonomies small, since maintenance is the main cost. Queue-based routing works for simple teams and is easier to audit; skills-based reduces queue sprawl for many product-language combinations. Both integrate with chat, messaging, voice and custom objects through service channels.
Code / config example:
// Skills-based routing from Apex (one case; bulkify by lists in production)
(
WorkItemId = c.Id, ServiceChannelId = channelId, RoutingType = ,
RoutingPriority = , CapacityWeight = , IsReadyForRouting = ,
RoutingModel = );
insert psr;
insert (RelatedRecordId = psr.Id, SkillId = skillId, SkillLevel = );
psr.IsReadyForRouting = ;
update psr;