Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: soyoung on March 18, 2019, 03:00:04 AM

Title: How to get AgentID(Statistics notready)
Post by: soyoung on March 18, 2019, 03:00:04 AM
i can get to Agent ID as Ready.

1.AgentDN = MultiSkill(Server, Skill)
2.AgentID = SelectDN(Queue,'','StatAgentLoading',AgentDN)
3.KVListGetStringValue(AgentID,'agent')

i want to get Agent ID when Statistics change into Ready from NotReady. too

Why is it that I can't acquire it when Agent's Statistics change into the Ready from NotReady or Afterwork??? ??? ???


or Can i use to Udata[RTargetAgentSelected]?
Title: Re: How to get AgentID(Statistics notready)
Post by: terry on March 18, 2019, 04:04:26 AM
It is router and its major task return/find agent ready to process the interaction - which among other things assumes that agent is in ready state.

You can use statistical functions like TargetState to get current status of agent - ready, on call, ACW, etc. if it is what you  want.

And if it is about tracking exact  moments when agent state is changed  - knowing usecase what it needed for  might help.
Title: Re: How to get AgentID(Statistics notready)
Post by: soyoung on March 18, 2019, 04:15:50 AM
i I've solved it
but, i cant solve as recall..! ???

i used Udata[KVPname]

----------------------------------------------------------------------------------

Is means i can't get to Agent ID?

Can I get to Agent ID ready state only?

I can get to Agent ID as ready state at IRD 8.1

but, if Agent state is notready, Call is waiting call.
and, i change into ready as Agent State.

Agent id is null...

1.AgentDN = MultiSkill(Server, Skill)
2.AgentID = SelectDN(Queue,'','StatAgentLoading',AgentDN)
3.KVListGetStringValue(AgentID,'agent')


i think because i geted to SelectDN(Queue,'',[b]'StatAgentLoading'[/b],AgentDN)