Why can't the object "voicecall" be updated through a flow when creating a package version?

492    Asked by elonji_3393 in Salesforce , Asked on Mar 1, 2023

We have stumbled upon The object "VoiceCall" can't be updated through a flow. error when introducing the required metadata for our Service Cloud Voice with BYOT (Bring Your Own Telephony - Amazon). For our CI builds we have added the permission set to the user in the Scratch org as instructed here.


The issue now comes when we try to create a package version. We're getting exactly the same issue and we can't seem to add anything so we can push our flow. We have already explored adding "apexTestAccess" to our sfdx-project.json file, as documented here. How can we add the relevant permission (ContactCenterAdminExternalTelephony) when building the package version?

Answered by Dipika Agarwal

For the object "voicecall" be updated through a flow when creating a package version, try convert the flow action to apex invocable action and then try adding apexTestaccess in sfdx-project.json


"apexTestAccess": {
               "permissionSets": [
                   "Permission_Set_1",
                   "Permission_Set_2"
               ],
               "permissionSetLicenses": [
                   "SalesConsoleUser"
               ]
           }

Your Answer

Interviews

Parent Categories