03-22-2021 11:58 PM
what is the best way to get agent id in a post call survey application in pcce
Solved! Go to Solution.
03-23-2021 03:02 AM
This gives you a bunch of information about the agent and skill group based on the RouterCallKey and RouterCallDay:
SELECT
Agent.EnterpriseName AgentName,
Agent.PeripheralNumber AgentPeripheralNumber,
TCD.AgentSkillTargetID AgentSkillID,
TCD.SkillGroupSkillTargetID SkillGroupID,
TCD.InstrumentPortNumber AgentExtension,
TCD.CallTypeID TCD_CT_ID,
Person.LoginName AgentLoginID,
SG.EnterpriseName SGName,
CT.EnterpriseName CallTypeName
FROM L125_hds.dbo.t_Termination_Call_Detail TCD
JOIN L125_awdb.dbo.Agent Agent ON TCD.AgentSkillTargetID = Agent.SkillTargetID
JOIN L125_awdb.dbo.Person Person ON Agent.PersonID = Person.PersonID
JOIN L125_awdb.dbo.Skill_Group SG ON TCD.SkillGroupSkillTargetID = SG.SkillTargetID
JOIN L125_awdb.dbo.Call_Type CT ON TCD.CallTypeID = CT.CallTypeID
WHERE
TCD.RouterCallKeyDay = 1111
AND
TCD.RouterCallKey = 222
03-23-2021 01:37 AM
Hi Gaurav,
We are using a custom gadget with a call studio application for PCS. Or you can try the Default PCS option in PCCE.
Ram.S
03-23-2021 03:02 AM
This gives you a bunch of information about the agent and skill group based on the RouterCallKey and RouterCallDay:
SELECT
Agent.EnterpriseName AgentName,
Agent.PeripheralNumber AgentPeripheralNumber,
TCD.AgentSkillTargetID AgentSkillID,
TCD.SkillGroupSkillTargetID SkillGroupID,
TCD.InstrumentPortNumber AgentExtension,
TCD.CallTypeID TCD_CT_ID,
Person.LoginName AgentLoginID,
SG.EnterpriseName SGName,
CT.EnterpriseName CallTypeName
FROM L125_hds.dbo.t_Termination_Call_Detail TCD
JOIN L125_awdb.dbo.Agent Agent ON TCD.AgentSkillTargetID = Agent.SkillTargetID
JOIN L125_awdb.dbo.Person Person ON Agent.PersonID = Person.PersonID
JOIN L125_awdb.dbo.Skill_Group SG ON TCD.SkillGroupSkillTargetID = SG.SkillTargetID
JOIN L125_awdb.dbo.Call_Type CT ON TCD.CallTypeID = CT.CallTypeID
WHERE
TCD.RouterCallKeyDay = 1111
AND
TCD.RouterCallKey = 222
03-23-2021 05:23 PM
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