" /> SData Not returning what I am expecting - Genesys CTI User Forum

Author Topic: SData Not returning what I am expecting  (Read 3541 times)

Offline pspenning

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 0
    • West Interactive
SData Not returning what I am expecting
« on: March 07, 2008, 05:07:12 PM »
Advertisement
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: SData Not returning what I am expecting
« Reply #1 on: March 07, 2008, 05:55:24 PM »
Try treating them as string, it's an URS issue

Offline bcyk

  • Full Member
  • ***
  • Posts: 113
  • Karma: 6
Re: SData Not returning what I am expecting
« Reply #2 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']