1 Answer
- Newest
- Most votes
- Most comments
0
From a CCP perspective, supervisors are also considered agents, and there is no specific differentiation between those two. However, some possible ways are:
- You can pre-define a list of the supervisors using a username or ARN and then compare the logged-in user's name or ARN to that list via agent.getAgentARN() or agent.getConfiguration().username
- Put the supervisors in a different routing profile and then check if the logged-in agent is using the logged-in routing profile via agent.getRoutingProfile()
Agent API: https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#agent-api
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
