Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on January 11, 2014, 02:38:32 PM
-
Hey,
I want to calculate in IRD the number of loggedin agents in several VAGs but not count same agent twice if he is part of two of these VAGs.
Is this possible? I need to create dinamically some kind of reunion of these VAGs so I can apply SData after...
Thank you,
Mihai
-
Not sure but very unlikely such statistic exists and SData can be used.
Probably CountSkillInGroup can help if used skill expression will be right one (CountSkillInGroup[statserver, '', skill_expression, 1]).
Possible options might be
- extract VAG defintion for every VAG (vag_definition = GetObjectProperty[5,0,VAGName, 'virtual', 'script'] ),
convert it to syntax that URS understand and combine all of them with logical OR
- or (if URS 8.1.300.25 or higher) just use skill exprtession like:
$(StatAgentsTotal)>0 & ( group(Group1) | group(Group2) | group(Group3) ...)
group(GroupName) returns 1 if agent is member of this group and 0 if not.
-
Why not just create a new VAG which includes all the agents you want, and then count them.
-
I thought the same thing, BUT the questionoer did not specify, if he wants to calculate overall number of agents in entire tenant or in specific agent group. For first option is the best solution create one VAG for containg all agents from entire CC, for second option there are no clear solution which was provided by Genesyts itself, but you are able to do "workaround" of course. I think there are more than one possible way how to achieve it
-
Instead of counting the agents, just create a groups view on that VAG in CCPulse, with fields like agents logged in? We have our views setup that way, so we have a high level view, and it we need to then we'll create the view for members when we need to drill down.
-
The topic is about using within routing strategy and namely in IRD GUI. So, your hint is not usable here