Salesforce Voice with Partner Telephony Developer Guide
Omni-Channel Flow for Salesforce Voice with Partner Telephony
To learn more, see Execute OmniFlow in the Salesforce Voice with Telephony Partners Implementation Guide.
Executing an Omni-Channel Flow for incoming calls (by calling /telephony/v1/voiceCalls/{CALL_ID}/omniFlow) creates a PendingServiceRouting (PSR) record in Salesforce which stays in the queue until the voice call is routed to the rep and the rep accepts the AgentWork. If the voice call is never routed to the rep or the rep declines the AgentWork, the PSR record stays in Salesforce. In order to clean up a PSR record associated with an abandoned or declined voice call, call the Clear Routing API (/telephony/v1/voiceCalls/{CALL_ID}/clearRouting) to clean it up.
Note