Number of KVP in a particular ITEM in a LIST object

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

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.

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

2 Likes