Genesys CTI User Forum
		Genesys CTI User Forum => Genesys-related Development => Topic started by: tony on October 29, 2007, 01:45:57 PM
		
			
			- 
				Posted on behalf of a colleague;
Hi, wonder if anyone can help here?
Trying to correctly get a ServiceFactor1 stat via the Statistic PlatformSDK 7.5...
We have a service factor statistic which encompasses 2 time ranges 0-20 and (minus) 0-10.  The two ranges are named "SRV_20" and "ABN_10" for calls answered in 20 secs but excluding those abandoning within 10 secs.  In the Java Integration API via GIS the TimeRangeName was used with string "SRV_20,ABN_10" and worked correctly.
How can I do this with the Platform API?  I am trying to set TimeRange = "SRV_20" and TimeRange2 = "ABN_10" but the stat gets defined in the stat server log as:
2007-10-25 09:43:53> Client: Message 'OpenPackageStat'
    'TM_RIGHT_RANGE_LIMIT2'    10
    'TM_LEFT_RANGE_LIMIT2'    0
    'TM_RIGHT_RANGE_LIMIT'    10
    'TM_LEFT_RANGE_LIMIT'    0
    'TM_RIGHT_RANGE_LIMIT'    20
    'TM_LEFT_RANGE_LIMIT'    0
.......
 and not giving the desired result, the stat opens as follows in the Integration API:
2007-10-26 07:11:29> Client: Message 'OpenStat'
    'TM_RIGHT_RANGE_LIMIT2'    10
    'TM_LEFT_RANGE_LIMIT2'    0
    'TM_RIGHT_RANGE_LIMIT'    20
    'TM_LEFT_RANGE_LIMIT'    0 
Where is the extra TM_RIGHT/LEFT_RANGE_LIMIT coming from with the Platform SDK??
(by proxy) Tony