Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Cgonçalves on March 08, 2018, 12:12:37 PM

Title: IRD - is it possible to get agentGroup from a espefic agent
Post by: Cgonçalves on March 08, 2018, 12:12:37 PM
Hello,

Can anyone tell me if there is a way to get/find the agentGroup from a specific agent in IRD.
I received the userName from attached data, and i need to obtain the agentGroup to update another params.

Best regards.
Title: Re: IRD - is it possible to get agentGroup from a espefic agent
Post by: Kubig on March 08, 2018, 01:12:01 PM
As I know, there is no default function offering it. You can for example obtain such information from CFG database
Title: Re: IRD - is it possible to get agentGroup from a espefic agent
Post by: water235 on March 08, 2018, 02:58:52 PM
try TargetState -
Return value type: LIST. This function returns detailed state of target and every of its DN. function ---
it returns a list of attributes corresponding to that agent -
and would show up his skill or agent grp i don t remember exactly !
Title: Re: IRD - is it possible to get agentGroup from a espefic agent
Post by: terry on March 08, 2018, 06:28:09 PM
Agent can be member of many groups - how you going to find out which one you need?
Anyway - If you know agent's EmploeeID you probably can use function ExpandAgent[EmploeeID] to get list all agent groups the agent is member of.