ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice
Service Cloud questions57 of 100
Service CloudMedium 2 min read

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:

apex
// 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;
Practice SOQL & Apex
PreviousHow does Einstein Case Classification automate field population and accelerate case triage?Next How do Support Processes coordinate with Case Record Types to manage multiple service workflows?

More Service Cloud questions

  • What role do asynchronous Apex and batch jobs play in handling heavy background processing for support operations?
  • What data governance practices ensure long-term database hygiene across enterprise Service Cloud environments?
  • How does entitlement process versioning manage rule updates for active customer support contracts?
  • How do real-time supervisor alerts assist contact center managers in mitigating queue bottlenecks?
  • How do Knowledge feedback analytics help authors identify articles that require content revision?
PendingServiceRouting
psr
=
new
PendingServiceRouting
'SkillsBased'
1
1
false
'MostAvailable'
new
SkillRequirement
3
true
// set last so skills exist before routing starts

Hidden gotchas & must-remember points:

  • Set IsReadyForRouting = true only after skill requirements are inserted.
  • Skills-based routing does not replace presence and capacity; it adds a filter.
  • Agents must be Service Resources with skills assigned, or no one matches.
  • Queue-based push routing needs a routing configuration on the queue.
  • No matching skilled agent means work waits, so configure fallback or overflow.
  • Case assignment rules are separate from Omni-Channel routing.

Best practice: Start with queues, move to skills only where fine-grained matching measurably reduces transfers, and keep a fallback path.

Service CloudSkills-Based RoutingQueue Routing