This document describe the emission of events, their triggers and the properties as updated between custom Agent Desk and AgentManager.
The first table describes the events emitted by the custom Agent Desk and second tables enlist events emitted by Agent Manager.
Quick Links
Agent as Emitter Socket Events
These events are emitted by the Agent/custom Agent Desk and listened by events on Agent Manager.
TitleEvent DescriptionEmitter(4.3) unsubscribePullModeListWhen an agent unsubscribes to a list the agent desk emits an event of unsubscribePullModeList to the agent manager, agent manager listens to the event and successfully unsubscribes from the list for that agent.Agent Desk(4.3) subscribePullModeListWhen an agent subscribes to a list the agent desk emits an event of subscribePullModeList to the agent manager, agent manager listens to the event and successfully subscribes to the list for that agent.Agent Desk(4.3) topicSubscriptionAgent requests to agent manager for the topic subscription by emitting this event.Agent Desk(4.3) topicUnsubscription_Agent requests to agent manager for the topic unsubscription by emitting this event.Agent Desk(4.3) publishCimEventEvent is emitted when agent requests to agent manager for publishing in-conversation events such as the messages of multiple types such as plain, media, contact, location, URL and WrapUp.Agent Desk(4.3) joinPullModeRequestEvent is emitted when an agent joins a chat, the agent desk emits an event of unsubscribePullModeList to the agent manager, agent manager listens to the event and successfully joins the chat for the agent.Agent Desk(4.3) deletePullModeRequestEvent is emitted when an agent ends a chat the agent desk emits an event of deletePullModeRequest to the agent manager, agent manager listens to the event and successfully ends the chat for the agent.Agent Desk(4.3) directConferenceRequestEvent is emitted when an agent requests for another agent (from a certain queue) to join the active conversation, the agent desk emits an event of 'directConferenceRequest'.In response, the Routing Engine will find another available agent until TTL time expires.Agent Desk(4.3) directTransferRequestEvent is emitted when an agent wants to leave the conversation and transfer it to another agent (from a certain queue) to takeover the active conversation; the agent desk emits an event of 'directTransferRequest'.In response, the Routing Engine will find another available agent until TTL time expires.Agent Desk(4.3) changeAgentStateWhen an agent changes its MRD state, state, or logs out from the agent desk, the agent desk requests to agent manager to change its MRD states:ready/not-readyready/not-ready with or without selecting reason of not ready)log out (with or without selecting reason of logout).Agent Desk(4.3) JoinAsSilentMonitorEvent is emitted when supervisor requests to agent manager to join an active conversation of a team member (agent) as a silent member.Agent Desk(4.3) .JoinAsBarginEvent is emitted when supervisor requests to agent manager to barge-in an active conversation instead of being a silent member.Agent Desk
Agent Manager as Emitter Socket Events
These events are emitted by the Agent Manager and listened by events on custom Agent Desk.
TitleEvent DescriptionEmitter(4.3) onChannelTypesEvent is triggered once connection is established through a channelAgent Manager(4.3) onPullModeSubscribedListRequestEvent is triggered when a new chat is initiated by the customer in one of the subscribed lists. It is also triggered when an agent leaves a chatAgent Manager(4.3) onPullModeSubscribedListTriggered when the agent unsubscribes or subscribes to the list where certain customer-agent conversations are maintained.Agent Manager(4.3) onTopicDataEvent is triggered when agent subscribes to a topicAgent Manager(4.3) revokeTaskEvent is triggered to revoke the new task request from the agent if not accepted within the configured accept time. Agent Manager(4.3) pullModeSubscribedListRequestsEvent is triggered if there are chat requests present in a list subscribed by the agent.Agent Manager(4.3) removePullModeSubscribedListRequestsEvent is triggered when agent unsubscribes to a list.Agent Manager(4.3) topicUnsubscriptionEvent is triggered when an agent leaves the conversation. Event returns a success message in case of success.Agent Manager/Agent(4.3) socketSessionRemovedEvent is triggered when agent switches to another tab. The Agent desk listens to the event and removes the agent from the previous session. Automatically logs the agent out from the previous session.Agent Manager(4.3) topicClosedEvent is triggered to notify the agent whenever a topic is closed.Agent Manager(4.3) taskRequestEvent is triggered on a new conversation request.Agent Manager(4.3) onCimEventThe agent manager sends the real-time CIM Events to the agent through this event.Agent Manager(4.3) errorsEvent is triggered to notify the agent whenever any error occurs in the system or on any request. Only type is required.Agent Manager(4.3) connect_errorEvent is triggered to notify the agent whenever any error occurs during handshake of socket connection establishment. Only type is requirede.g, unauthorized user, invalid data etc.Agent Manager(4.3) addPullModeSubscribedListRequestsEvent is triggered when an agent subscribes to a list. If it contains chats, then a list of conversations is returned else the array is returned empty.Agent Manager(4.3) agentPresence _Event triggered to update agent state information.Agent Manager