Newer Version Available
External Routing
Omni-Channel routes work to agents using a two-step process. In the first step, a
PendingServiceRouting (PSR) is created which represents a work assignment that’s waiting to be
routed. If this PSR’s RoutingModel field is set to ExternalRouting, Omni-Channel won’t route the
PSR and waits for the vendor to create the AgentWork record for the assigned agent using the
PSR.
To learn more about the PendingServiceRouting (PSR), see The Routing Lifecycle in Salesforce Help.
As an example, here’s what a vendor system does for an agent to accept a work item.
- Chat visitor initiates a chat request from the external routing button.
- PendingServiceRouting is created.
- Partner is notified by a pushTopic event (EventType = Create, isPushed = false).
- Partner creates AgentWork using the PSR.
- Agent is routed to the chat request (AgentWork Status = Assigned).
- Agent accepts the chat request (AgentWork Status = Accept).
- Omni-Channel deletes the PendingServiceRouting record after the agent accepts the work.
- Partner is notified by a pushTopic event (EventType = Delete).