OmniSupervisorConfig

Represents the Omni-Channel supervisor configuration for an assigned group of supervisors.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

OmniSupervisorConfig components have the suffix .omniSupervisorConfig and are stored in the omniSupervisorConfigs folder.

Version 

Introduced in API version 57.0.

Special Access Rules 

To access this type, Omni-Channel must be enabled.

Fields 

isTimelineHidden 

  • Type: boolean
  • Required: Yes
  • Description: Required. If set to true, hides the agent timeline from the supervisors assigned to this supervisor configuration. The default value is false.

masterLabel 

  • Type: string
  • Required: Yes
  • Description: Required. A unique label for the supervisor configuration. The name must begin with a letter and can contain alphanumeric characters and underscores. It can’t contain spaces, two consecutive underscores, or end with an underscore. The name appears as Omni Supervisor Configuration Name in the UI.

omniSpvsrConfigAIAgent 

  • Type: OmniSpvsrConfigAIAgent[]
  • Required: No
  • Introduced: API version 64.0
  • Description: Represents AI agent bots that are visible to supervisors in this configuration.

omniSupervisorConfigAction 

  • Type: OmniSupervisorConfigAction[]
  • Required: No
  • Description: Represents the actions available to the supervisors of this Omni-Channel supervisor configuration.

omniSupervisorConfigGroup 

  • Type: OmniSupervisorConfigGroup[]
  • Required: No
  • Description: Represents the group of agents who are visible to the supervisors of an Omni-Channel supervisor configuration. The group, if visible, appears in the Agents tab of Omni Supervisor.

omniSupervisorConfigProfile 

  • Type: OmniSupervisorConfigProfile[]
  • Required: No
  • Description: Represents the supervisor profiles to which an Omni-Channel supervisor configuration applies. User-level configurations override profile-level configurations.

omniSupervisorConfigQueue 

  • Type: OmniSupervisorConfigQueue[]
  • Required: No
  • Description: Represents the queues that are visible to the supervisors of an Omni-Channel supervisor configuration. The queue, if visible, appears in the Queues Backlog and Assigned Work tabs of Omni Supervisor.

omniSupervisorConfigSkill 

  • Type: OmniSupervisorConfigSkill[]
  • Required: No
  • Description: Represents the skills that are visible to the supervisors of an Omni-Channel supervisor configuration. These skills, if visible, appear in the Skills Backlog tab of Omni Supervisor.

omniSupervisorConfigTab 

  • Type: OmniSupervisorConfigTab[]
  • Required: No
  • Description: Represents the visible tabs specified in an Omni Supervisor configuration. This object is available in API version 60.0 and later.

omniSupervisorConfigUser 

  • Type: OmniSupervisorConfigUser[]
  • Required: No
  • Description: Represents the supervisor to which the Omni-Channel supervisor configuration applies. User-level configurations override profile-level configurations. This object is available in API version 64.0 and later.

skillVisibility 

  • Type: OmniSuperSkillVisibilityType (enumeration of type string)
  • Required: No
  • Description: Determines which work items based on skills are visible to the supervisors assigned to this supervisor configuration. Values are:
  • Possible values:
    • AllSkills
    • AnySkill

OmniSpvsrConfigAIAgent Type 

Represents AI agent bot definitions that are visible to supervisors in this configuration. This object is available in API version 64.0 and later.

Fields 

botDefinition 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the bot definition that is visible to supervisors in this configuration.

OmniSupervisorConfigAction Type 

Represents an action and associated tab, custom flow, and display order for supervisor actions in this configuration.

Fields 

actionName 

  • Type: OmniSupervisorActionName (enumeration of type string)
  • Required: Yes
  • Description: Required. An action that a supervisor can perform. Values are:
  • Possible values:
    • AWSDashboard
    • AssignLearning
    • ChangeGroups
    • ChangeQueues
    • ChangeSkills
    • CustomAction
    • ManageQueues

actionTab 

  • Type: OmniSupervisorActionTab (enumeration of type string)
  • Required: Yes
  • Description: Required. The tab where the action appears. Values are:
  • Possible values:
    • AgentDetails
    • AllAgents
    • AssignedWork
    • AssignedWorkDetails
    • QueueDetails
    • QueuesBacklog
    • SkillDetails
    • SkillsBacklog

customActionFlow 

  • Type: string
  • Required: No
  • Description: A flow that performs a custom action.

displayOrder 

  • Type: int
  • Required: Yes
  • Description: Required. The order in which the action is displayed.

OmniSupervisorConfigGroup Type 

Represents the group of agents for the supervisors in this configuration.

Fields 

group 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the group of agents.

OmniSupervisorConfigProfile Type 

Represents a profile for the supervisors in this configuration.

Fields 

profile 

  • Type: string
  • Required: Yes
  • Description: Required. The profile name.

OmniSupervisorConfigQueue Type 

Represents a queue that’s visible to the supervisors in this configuration.

Fields 

queue 

  • Type: string
  • Required: Yes
  • Description: Required. The queue name.

OmniSupervisorConfigSkill Type 

Represents a skill that’s visible to supervisors in this configuration.

Fields 

skill 

  • Type: string
  • Required: Yes
  • Description: Required. The skill name.

OmniSupervisorConfigTab Type 

Represents the visible tabs specified in an Omni Supervisor configuration. This object is available in API version 60.0 and later.

Fields 

displayOrder 

  • Type: int
  • Required: Yes
  • Description: The order in which tabs are displayed in Omni Supervisor.

flexiPage 

  • Type: string
  • Required: No
  • Description: The name of the FlexiPage added as a customized tab. Required when tabTypeis set to FlexipageType.

tabType 

  • Type: OmniSupervisorTabType (enumeration of type string)
  • Required: Yes
  • Description: Required. Tabs shown on the Omni Supervisor page.
  • Possible values:
    • Agents — the Agents tab
    • AssignedWork — the Assigned Work tab
    • FlexipageType — A custom tab created using Lightning App Builder, with the omniSupervisorPageType value of the FlexiPage Type field
    • QueuesBacklog — the Queues Backlog tab
    • SkillsBacklog — the Skills Backlog tab
    • Wallboard — the Wallboard tab

OmniSupervisorConfigUser Type 

Represents the supervisor to which the Omni-Channel supervisor configuration applies. User-level configurations override profile-level configurations. This object is available in API version 64.0 and later.

Fields 

user 

  • Type: string
  • Required: Yes
  • Description: Required. Represents the supervisor to which the Omni-Channel supervisor configuration applies.

Declarative Metadata Sample Definition 

The following is an example of a OmniSupervisorConfig component.

1<?xml version="1.0" encoding="UTF-8"?>
2<OmniSupervisorConfig xmlns="http://soap.sforce.com/2006/04/metadata">
3    <isTimelineHidden>true</isTimelineHidden>
4    <masterLabel>Supervisor Config</masterLabel>
5    <skillVisibility>AllSkills</skillVisibility>
6    <omniSupervisorConfigAction>
7        <actionName>ChangeQueues</actionName>
8        <actionTab>AllAgents</actionTab>
9        <displayOrder>0</displayOrder>
10    </omniSupervisorConfigAction>
11    <omniSupervisorConfigGroup>
12        <group>Agent_Group</group>
13    </omniSupervisorConfigGroup>
14    <omniSupervisorConfigProfile>
15        <profile>contractmanager</profile>
16    </omniSupervisorConfigProfile>
17    <omniSupervisorConfigQueue>
18        <queue>CaseQueue</queue>
19    </omniSupervisorConfigQueue>
20    <omniSupervisorConfigSkill>
21        <skill>English</skill>
22    </omniSupervisorConfigSkill>
23</OmniSupervisorConfig>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>*</members>
5        <name>OmniSupervisorConfig</name>
6    </types>
7    <version>57.0</version>
8</Package>

Wildcard Support in the Manifest File 

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.