Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Ansh on August 28, 2009, 11:43:25 AM

Title: Number of KVP in a particular ITEM in a LIST object
Post by: Ansh on August 28, 2009, 11:43:25 AM
Hi,

Can anyone help me out with the function in a Routing Strategy for finding number of KVP's in a Particular ITEM in a LIST object.

Thanks in Advance,
Ansh
Title: Re: Number of KVP in a particular ITEM in a LIST object
Post by: KBS on August 28, 2009, 01:48:23 PM
In URS there is the ListGetSize function.

You'll need to retrieve the ITEM into a strategy variable using the ListGetDataCfg function, then use the ListGetSize.

Refer to the URS Reference for specifics on using these functions.
Title: Re: Number of KVP in a particular ITEM in a LIST object
Post by: Ansh on August 29, 2009, 12:17:03 PM
Thanks KBS. Can you further help me with following

I have a string AG1|AG2|....AGn, i have to get each AG1 , AG2, etc out from this separately and calculate the statistic on it. For Tracking , i would need the value of n as well which is the number of AG separated by the pipe.

Appreciate you help.

Thanks,
Ansh