Loading...
Loading...
Use to ensure exactly one ServiceChannel exists on a Salesforce org for a routable sObject (Case | Incident | MessagingSession | VoiceCall), reusing any standard or custom channel already bound to that sObject and only deploying a canonical template when none exists. Salesforce enforces one ServiceChannel per RelatedEntity, so the skill detects via the Tooling API first. Standard channels ship for Case (Cases), MessagingSession (sfdc_livemessage), VoiceCall (sfdc_phone); Incident has none. Triggers: configure ServiceChannel for Case/Incident/Messaging/Voice routing, add Incident or Voice routing to Omni. Do not use to tune per-sObject capacity (use PresenceUserConfig.Capacity), to reset a mis-configured channel to canonical shape, or for sObjects outside Case/Incident/MessagingSession/VoiceCall.
npx skill4agent add forcedotcom/sf-skills service-omni-service-channel-configureServiceChannelRelatedEntityservice-omni-base-settings-configure| sObject | Standard channel (if any) | Canonical asset |
|---|---|---|
| | |
| none (Incident Management sObject) | |
| | |
| | |
bash scripts/deploy-and-report.sh <org-alias> [Case|Incident|MessagingSession|VoiceCall]org-aliassobject_typeCaseCase | Incident | MessagingSession | VoiceCallsfsfservice-omni-base-settings-configureServiceChannelenableOmniChannel=trueINVALID_TYPEIncidentMessagingSessionEntityDefinitiondeploy-and-report.shEntityDefinitionServiceChannelRelatedEntity = <sobject_type>ServiceChannelINVALID_TYPEsf project deploy startCasesIncidentsMessagingSessionsVoiceCallsChangedcreatedUnchangedreusedRelatedEntityCasesDeveloperNamereusedTAB_BASEDSTATUS_BASEDPresenceUserConfig.Capacitystatuscreatedreusedblockedsobject_typechannel_developer_namechannel_idchannel_origintarget_capacity_modeltarget_related_entity_typebefore_statedeploy_idmanual_actionsblocking_issuereusedUnchangedcreatedChangedblockedINVALID_TYPEchannel_originsalesforce_standardsfdc_*Casescanonical_assetcanonical_templatecustomchannel_idnullblockeddeploy_idblocking_issuestatus: blockedCaseIncidentMessagingSessionVoiceCallassets/force-app/main/default/serviceChannels/<Name>.serviceChannel-meta.xml| File | When to read |
|---|---|
| On unexpected discovery results, deploy failures, or sObject-specific schema questions |