Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: pspenning on March 07, 2008, 05:07:12 PM

Title: SData Not returning what I am expecting
Post by: pspenning on March 07, 2008, 05:07:12 PM
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
Title: Re: SData Not returning what I am expecting
Post by: cavagnaro on March 07, 2008, 05:55:24 PM
Try treating them as string, it's an URS issue
Title: Re: SData Not returning what I am expecting
Post by: bcyk on March 09, 2008, 04:00:41 PM
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']