SData Not returning what I am expecting

Hello All,
I am sure I am not doing something right here so I am asking for anyone who might know…
I am using a Generic Segmentation and I want to determine if I have any agents logged in to a particular Agent Group. My code looks like: SData[‘vClientServices@RoutingStatServer_A.GA’,‘StatAgentOccupancy’] > 0.000000 The return type is a FLOAT.

No matter what I do, my segmentation falls out the Red port even when I have an agent logged in. What am I doing wrong? I have tried other statistics and don’t seem to have any luck with those either.

Thanks,
Perry

Try treating them as string, it’s an URS issue

2 Likes

try stat type ‘StatAgentsTotal’
where li_tmpSz is local variable with Integer type
ls_remoteFullAGname is local variable with String type

ls_remoteFullGname = ‘vClientServices@RoutingStatServer_A.GA’

li_tmpSz=SData[ls_remoteFullAGname,‘StatAgentsTotal’]