Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Vic on January 01, 1970, 12:00:00 AM

Title: Defining many variables at once
Post by: Vic on January 01, 1970, 12:00:00 AM
Hi, in my continuous quest for developing my strategy, I was wondering if someone has a better way of defining variables other than the infamous "=" block. I want to define more than one variable at a time after all, defining 20 or so of them will be a total pain!!! Anything out there?
Title: Defining many variables at once
Post by: Frank on January 01, 1970, 12:00:00 AM
Maybe already known, but in rel 7 there's a new function =+ or multi assign. Also the new macro function can be used to do the same thing.
Title: Defining many variables at once
Post by: sidney on January 01, 1970, 12:00:00 AM
if urs is 6.5 you are stuck. if is 7.0 then I think there is a block that allow you assign values to several variables in the same block (multiassign)
Title: Defining many variables at once
Post by: Tony Tillyer on January 01, 1970, 12:00:00 AM
Hi Vic,

I saw today how you can define variables in the URS Options "default" and refer to them from within the IRD Strategy using the GetConfig Option.

Is this any good for you?

Tony
Title: Defining many variables at once
Post by: henrick on January 01, 1970, 12:00:00 AM
And what about to use List, did you consider this way?
You can set many variables as you whish in form key:value|key:value|.. and store it in one variable of type list. Than simply use function 'GetStringKey' or other to read or set the variables in list.