Community users are not able to create cases with "An Apex error occurred: System.QueryException: sObject type 'ServiceChannel' is not supported"
Last updated 2020-01-04 ·Reference W-6442080 ·Reported By 1 users
Community users are not able to create cases when using Skills Based routing for Omni Channel.
Note:This error occurs when executing skills-based routing apex code for cases created by community users.
Needed for Repro:
2)Omni Skills Based Routing
3)Use the apex code mentioned below to define an Apex class that routes work items using skills.
4) Create case as a community user. You might Observe any of the following errors:
"An Apex error occurred: System.QueryException: sObject type 'ServiceChannel' is not supported"
"System.SObjectException: Invalid field ServiceChannelId"
As a workaround, reach out to salesforce support to whitelist the ServiceChannel entity for your Org
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.