" /> Calculate no of LoggedIn Agents on several VAG - Genesys CTI User Forum

Author Topic: Calculate no of LoggedIn Agents on several VAG  (Read 3361 times)

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Calculate no of LoggedIn Agents on several VAG
« on: January 11, 2014, 02:38:32 PM »
Advertisement
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

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Calculate no of LoggedIn Agents on several VAG
« Reply #1 on: January 12, 2014, 01:12:52 AM »
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.


Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: Calculate no of LoggedIn Agents on several VAG
« Reply #2 on: January 13, 2014, 02:50:34 PM »
Why not just create a new VAG which includes all the agents you want, and then count them.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Calculate no of LoggedIn Agents on several VAG
« Reply #3 on: January 13, 2014, 02:54:04 PM »
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

Offline pdavid

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
Re: Calculate no of LoggedIn Agents on several VAG
« Reply #4 on: January 29, 2014, 09:00:27 PM »
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.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Calculate no of LoggedIn Agents on several VAG
« Reply #5 on: January 30, 2014, 07:36:29 AM »
The topic is about using within routing strategy and namely in IRD GUI. So, your hint is not usable here