" /> Defining many variables at once - Genesys CTI User Forum

Author Topic: Defining many variables at once  (Read 3999 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Vic

  • Guest
Defining many variables at once
« on: January 01, 1970, 12:00:00 AM »
Advertisement
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?

Frank

  • Guest
Defining many variables at once
« Reply #1 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.

sidney

  • Guest
Defining many variables at once
« Reply #2 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)

Marked as best answer by on May 04, 2025, 01:04:02 AM

Tony Tillyer

  • Guest
Defining many variables at once
« Reply #3 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • 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

    henrick

    • Guest
    Defining many variables at once
    « Reply #4 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.