" /> How to get AgentID(Statistics notready) - Genesys CTI User Forum

Author Topic: How to get AgentID(Statistics notready)  (Read 1524 times)

Offline soyoung

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
How to get AgentID(Statistics notready)
« on: March 18, 2019, 03:00:04 AM »
Advertisement
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]?
« Last Edit: March 18, 2019, 05:57:00 AM by soyoung »

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: How to get AgentID(Statistics notready)
« Reply #1 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.

Offline soyoung

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
Re: How to get AgentID(Statistics notready)
« Reply #2 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)


« Last Edit: March 18, 2019, 08:56:33 AM by soyoung »