Hello,
In an URS strategy I want to check first if there are any logged in agents with specific skill set to route the call. For this I have a big VAG with all agents and then use dynamicgroup=CreateSkillGroup(statserver,VAG, skill expression). After that I apply SData with StatAgentsTotal on this dynamicgroup. The thing is that the skill expression is totaly ignored and I get the number of agents logged in that VAG. Here is logs:
_I_I_0077024297bc7156 [09:04] ASSIGN: svar_dynamicgroup(LOCAL) <- STRING: "?Contact_Centre:cs_agentii_rzb>=1@urs_statserver_p.GA"
...
_I_I_0077024297bc7156 [10:0d] HERE IS SDATA: ?Contact_Centre:cs_agentii_rzb>=1@urs_statserver_p - StatAgentsTotal
_M_I_ [10:06] SO(3920b70 -1 0) ten=Resources name=?Contact_Centre:cs_agentii_rzb>=1@urs_statserver_p.GA: stat <StatAgentsTotal> created
12:20:49.509_M_I_ [10:4d] SO(3920b70 -1 0) ten=Resources name=Contact_Centre@urs_statserver_p.GA stat <StatAgentsTotal>: opening
12:20:49.509_M_I_ [10:4f] SO(3920b70 199 1) ten=Resources name=Contact_Centre@urs_statserver_p.GA: peek stat <StatAgentsTotal> 200 (skt 1)
12:20:49.509_M_I_ [10:06] SO(3920b70 199 1) ten=Resources name=?Contact_Centre:cs_agentii_rzb>=1@urs_statserver_p.GA: stat <StatAgentsTotal> asked (ntf 0)
12:20:49.509_I_I_0077024297bc7156 [09:04] <<<<<<<<<<<<suspend interp(SDATA), func:SData timers:00010
request to 65201(--) message RequestDistributeEvent
AttributeExtensions [96] 00 04 00 00..
'SIGNATURE' 'router'
'NAME' 'ur_server_p'
'VERSION' 'Version: 8.1.300.16'
'CLUSTER' 'ur_server_p'
AttributeUserData [147] 00 06 01 00..
'##STATISTIC##' 1
'CUSTOMER_ID' 'Resources'
'STATSERVER' 'urs_statserver_p'
'STATISTIC' 'StatAgentsTotal'
'TARGET' 'Contact_Centre'
'TYPE' 2
AttributeThisDN 'exr'
AttributeCustomerID 'Resources'
AttributeUserEvent EventUserEvent
..sent to gtstpri.test.rbro:5620(fd=13)
_I_I_0077024297bc7156 [10:14] sdata returns 3(S)
the value returned is 3 but in fact in that group there is no agent logged having the skill cs_agentii_rzb>=1. Indeed there are 3 agents logged in but with other skill sets.
Even from the call to StatServer I see target is 'TARGET' 'Contact_Centre'. Shouldn't it be 'TARGET' '?Contact_Centre:cs_agentii_rzb>=1' ??
How do I get number of logged in agents in this group that satisfy that skill expression??
Thanks,
Mihai