" /> using variables within Genesys Studio - Genesys CTI User Forum

Author Topic: using variables within Genesys Studio  (Read 4152 times)

Offline Lorenzo

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
using variables within Genesys Studio
« on: October 17, 2006, 01:55:59 PM »
Advertisement
We would like to develop scripts for GVP v7 and we are in the process of thinking which way is the best.
1)
According to your experience, does Genesys Studio allow to use variables ( for example to count the number of incorrect tries from the customer, or the time in seconds before playing a message if the customer does not enter any DTMF tone ?
Or is it better to develop scripts via Vxml and catch these variables from a xml file (which would be a configuration file in this case) ?

2)
To access an Information System via socket, what is the best way ? ( devlopment via Vxml, via Genesys Studio ?) Would we need a custom Server ?

Thanks in advance for your help

Ingmar

  • Guest
Re: using variables within Genesys Studio
« Reply #1 on: January 16, 2007, 03:55:00 PM »
Hi,

1)
It is possible to use variables in Genesys Studio. However, everytime you set a variable, it can only used in that block. If you want to pass the content of the variable to the next block (next .asp or .jsp page), you would need to store it in a session variable.
example (asp).

var_Language = "English"  'Set a local variable
Update("Language") = var_Language  'Stores the contet to a session variable called Language

var_NewLanguage = Session("Language")  'Retreive value of session variable 'Language'

You can use this code either in a code objekt or in any objekt you want. Be aware that Genesys Studio created either .asp or .jsp files. Do not modify these files as they will be overwritten the next time you deploy you studio application. It's much better to add custom code in Genesys Studio as this will then be included in the .asp/.jsp files.

2)
Well, I'm not very good in accessing a server using .asp files, but I belive you can do this is asp. Thus, you can add you custome code in Genesys Studio as already mentioned above.

Regards
Epiphany

mark.

  • Guest
Re: using variables within Genesys Studio
« Reply #2 on: January 17, 2007, 03:47:05 PM »
in the 'Menu' option you can specify 3 'no inputs' and 3 'no matches' as error points and add an announcement to tell the customer to try again.

if you needed to give more tries then you can do some work in custom code.