New to the board and to Genesys, but could you just CInt(stringvalue) on the other side of the route? Or do you not have any code involved on the other side?
ChrisKo
ps, guess I should register on the board sometime this weekend if I’m going to participate. >
Thanks for not letting go of this! It’s really annoying that something as functional as URS cannot attach an Integer KVP (when this is part of the TLib spec)
I looked at UDataINT but it looks like this just retrieves a KVP and converts it to Int for use in a strategy - it doesn’t allow me to Attach/Update a KVP of an Int type.
Well as it seems a URS limitation open a eSR to Genesys directly and let us know what they told. I have tried too and yes, only attachs as String…weird.
I wonder, just wonder, if it can be done using UserData. I know that manual says that it is String, but I wonder if there is a way to add directly to UserData bypassing the usual Update.
I remember a while back I needed to attach several keys at once, and it was before Multi-Attach in 7.2, and after awhile (and thanks to feedback from Tony, wyn and handful of other people) the answer was adding a KV pairs into a string and then passing a string into Update function. I wonder if you could go around the string requirement by adding keys and integer values into one long string ariable and then passing it to Update.
ok guys, taking this on my hands I asked Genesys guys to try it and they said ups…and yes, they are asking me to open a feature request, the funny part, they want me to tell them if I need an INTEGER or a FLOAT…
What do you think…I can ask both, however if only one can be done I’ll ask for the Float, do you agree?
It should I’m sure - because a two years before I did it this way. You have to only assign Interaction data not directly key of interaction data.
But I’ll check it and let you know.
Sorry for confusing you.
I have just checked - and I was wrong, actually I don’t see the way in which there is possible to attach/update integer value to the UserData directly from strategy.
I have done it before but not by URS.
Ok guys, I received a solution from Genesys do this:
In my test strategy I created an Integer variable called var_Age. I assigned my variable a value of 32. I did not put quotes around the 32 in my assignment block.
Then in my Update function I used the {d} in the Key Field and selected my Variable as the Value. My Update function was as follows. NOTE that the entire Prefix and Key are enclosed in Single quotes: