Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: GG on January 11, 2010, 10:00:39 PM
-
I am using the UseCustomPlaceType function in conjunction with CME "manage options" to shutdown and open sites. Basically, so calls parked 'in the cloud' adhere to a group of places (read: site) being shutdown. Here is the function used in the strategy:
UseCustomPlaceType['status','open']
It works brilliantly, if I manage options and set an annex option for the group of places to ['status','<anything else>'] new inbound calls and calls in queue will not route to an agent logged into one of the places even if the agents goes ready.
[b]Here is the question//issue.[/b] There is a condition where I want to track how many agents are really eligible; say a new call comes in and I am checking multiple sites for agents logged in - when i do an sdata for the site where I set the annex option (status=closed) if an agent is logged the return value is this positive integer. [i][b]So, is there a way to filter an sdata against an annex option? Or, is there any work around where i can query (via URS) #agents with place annex option set to something?[/b][/i]
-
Unlikely filtering of sdata based on nnexes possible.
Just sort of work around may be using of function cfgdata in statistic/skill expressions.
It returrns only numbers howver so to get "status" of place its value need to be started with some number like '1_open', in such case for example cfgdata(default, status, 0) will return 1 (default here is place annex folder where option status is stored).
Something like
x=GetSumStatData[ExpandGroup['MyPlaceGroup.GP'], '(cond(cfgdata(default,status,0)==1, 1, 0))']
allows to count number of places in MyPlaceGroup place group that have in annex folder default the option status to be evaluated as 1. "Statistic" (cond(cfgdata(default,status,0)==1, 1, 0)) for every place return 1 if place has status evaluated as 1 and otherwise.