Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
HandleContactEventsFunction Lambda Function
Configuration: This function is available to Salesforce Voice with Amazon Connect and Salesforce Voice with Partner Telephony from Amazon Connect customers who are using an Amazon Connect instance that’s provided by Salesforce. This Lambda is installed with Service Cloud Voice contact center version 8.0 or later. See Update Your Contact Center for more details. No additional configuration is necessary. See a sample version of the invokeTelephonyIntegrationApi Lambda function in GitHub.
Usage: You don’t need to call this function manually.
This function calls the InvokeTelephonyIntegrationApiFunction Lambda function using the cancelOmniFlowExecution method. This method cancels the the Omni-Channel flow and calls the Clear Routing REST API to clear the PendingServiceRouting (PSR) record.