cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1106
Views
5
Helpful
1
Replies

Report or query for all agents assigned to attribute or precision queue in UCCE

ccoombs
Level 1
Level 1

Is there a way to get a list of all agents assigned to a specific attribute or PQ??

 

Thank you

1 Reply 1

Omar Deen
Spotlight
Spotlight

You can use something simple like this query

SELECT P.FirstName, P.LastName, A.EnterpriseName, AT.AttributeValue, ATT.EnterpriseName
FROM Agent A, Agent_Attribute AT, Attribute ATT, Person P
WHERE A.SkillTargetID = AT.SkillTargetID
AND ATT.AttributeID = AT.AttributeID
AND A.PersonID = P.PersonID
AND A.EnterpriseName IN ('5000.1329894','5000.3859437','5000.2212787','5000.9871826')

Replace the Agent Enterprise Names with your own. Use the = comparison operator for one agent or the IN logical operator for multiple agents.

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: