sforce.console.ConsoleEvent.PRESENCE.LOGIN_SUCCESS | Fired when an Omni-Channel user logs into Omni-Channel successfully. Available in API version 32.0 or later. | statusId—the ID of the agent’s current presence status.
|
sforce.console.ConsoleEvent.PRESENCE.STATUS_CHANGED | Fired when a user changes his or her presence status. Available in API version 32.0 or later. | statusId—the ID of the agent’s current presence status.channels—channelJSON string of channel objects.statusName—the name of the agent’s current presence status.statusApiName—the API name of the agent’s current presence status.
|
sforce.console.ConsoleEvent.PRESENCE.LOGOUT | Fired when a user logs out of Salesforce. Available in API version 32.0 or later. | None |
sforce.console.ConsoleEvent.PRESENCE.WORK_ASSIGNED | Fired when a user is assigned a new work item. Available in API version 32.0 or later. | workItemId—the ID of the object that’s routed through Omni-Channel. This object becomes a work assignment with a workId when it’s assigned to an agent.workId—the ID of a work assignment that’s routed to an agent.
|
sforce.console.ConsoleEvent.PRESENCE.WORK_ACCEPTED | Fired when a user accepts a work assignment, or when a work assignment is automatically accepted. Available in API version 32.0 or later. | workItemId—the ID of the object that’s routed through Omni-Channel. This object becomes a work assignment with a workId when it’s assigned to an agent.workId—the ID of a work assignment that’s routed to an agent.
|
sforce.console.ConsoleEvent.PRESENCE.WORK_DECLINED | Fired when a user declines a work assignment. Available in API version 32.0 or later. | workItemId—the ID of the object that’s routed through Omni-Channel. This object becomes a work assignment with a workId when it’s assigned to an agent.workId—the ID of a work assignment that’s routed to an agent.
|
sforce.console.ConsoleEvent.PRESENCE.WORK_CLOSED | Fired when the status of an AgentWork object is changed to Closed. Available in API version 32.0 or later. | workItemId—the ID of the object that’s routed through Omni-Channel. This object becomes a work assignment with a workId when it’s assigned to an agent.workId—the ID of a work assignment that’s routed to an agent.
|
sforce.console.ConsoleEvent. PRESENCE.WORKLOAD_CHANGED | Fired when an agent’s workload changes. This includes receiving new work items, declining work items, and closing items in the console. It’s also fired when there’s a change to an agent’s capacity or Presence Configuration or when the agent goes offline in the Omni-Channel widget. | ConfiguredCapacity—the configured capacity for the agent.PreviousWorkload—the agent’s workload before the change.NewWorkload—the agent’s new workload after the change.
|