cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
580
Views
1
Helpful
4
Replies

FInesse agent state change event for team members

zohaib.shabir
Level 1
Level 1

Hello

I'm creating finesse chat widget for agent to agent chat using finesse js API. I want agent status to show in agent list (online / offline).

Screenshot from 2018-11-24 17-36-17.png

I want to know how can I detect if some agent is logged out or logged in. Is there is any thing similar to onChange event of user for team members like below 

user = new finesse.restservices.User({
                id: cfg.id, 
                onLoad : handleUserLoad,
                onChange : handleUserChange
            });
 
4 Replies 4

dekwan
Cisco Employee
Cisco Employee

Hi,

 

There are only two scenarios to get agent state:

 1. Agents can see their own agent state

 2. Supervisors can see the agent state of the agents on their team

 

So, unfortunately, agents cannot see the agent state of their team members.

 

Thanx,

Denise

Hello
it is not possible for an agent to subscribe to a specific Team and get all change states for the selected team ?

Thanks :).

Romain

Denise has answered the question above.
It is not possible.
An agent cannot access the other team members stats.
A supervisor of the team can.

Regards,

Gerry

Hello, i thought it was possible
If i subscribe Agent001 to the the team 2 via this snippet; i can get agent status can't i ?

<iq type='set' from='Agent001@hq-uccx.abc.inc' to='pubsub.hq-uccx.abc.inc' id='sub1'>
   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
       <subscribe node='/finesse/api/Team/2/Users' jid='Agent001@hq-uccx.abc.inc'/>
   </pubsub>
</iq>

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: