11-24-2018 04:48 AM
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).
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 });
11-26-2018 11:11 AM
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
03-22-2024 03:23 AM
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
03-22-2024 04:28 AM
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
03-22-2024 06:20 AM
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>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide