Genesys CTI User Forum
		Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: raza990 on July 18, 2017, 09:46:31 AM
		
			
			- 
				Hi,
If I want get KVP from Person object (For example Person/Raza)  from section interaction-workspace where option name is chat.nickname; then which function I will use in routing strategy ?
I tried KVListGetStringValue but its not working 🙄
KVListGetStringValue[sGetStringKey,'annex.interaction-workspace.chat.nickname']
where passing List as person DBID
Any idea ?
			 
			
			- 
				How exactly you get person object in strategy (or what exactly is value of sGetStringKey variable)?
In any case using option/key having dots inside (chat.nickname) a  bit tricky as dot used as sublist/subkey separator.
URS has no way to know that first dot in 'annex.interaction-workspace.chat.nickname' means key.subkey separator but third dot is just regular part of key name.
You probably will need do it in 2steps - first extract sublist KVLiitGetListValue (interpreting dot as separator) and after that extract string from smaller KVList (disabling interpreting dot as separator)
			 
			
			- 
				solved.
Using GetStringKey function and select KVP which I was receiving from FindConfigObject function.