Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: AndreK on November 03, 2011, 03:51:54 AM

Title: INTERACTION variable
Post by: AndreK on November 03, 2011, 03:51:54 AM
It is a variable where the SCOPE of the variable is set to INTERACTION instead of LOCAL or GLOBAL for example.

The Genesys doc description:
An INTERACTION variable is created when a particular interaction is active and is destroyed when the interaction ends. The value of an INTERACTION variable for one interaction has no effect on the value of the same INTERACTION variable for another interaction. Values are shared for the current interaction only.

Does anyone have more information on how this can be used in a Business Process?
Title: Re: INTERACTION variable
Post by: kubikle on November 04, 2011, 05:35:55 AM
INTERACTION scope have a little benefit for Business Processes. INTERACTION here really means CALL (call as it existe for URS) and not related with Multimedia interactions.
Just while URS process some call all startegies/subroutine can share variable of this type (= it is alternative way to using subroutines input/output parameters to share data). Variable value changed inside subroutine becomes automatiucally visible in calling startegy/subroutine and vice versa.

Sine every time multimedia interactions is pulled from Interaction server for processing in URS - it is new interaction from URS point of view the variable of this scope can not keep value thorugh entire life time of multimedia interaction. 
Title: Re: INTERACTION variable
Post by: AndreK on November 08, 2011, 06:09:43 AM
Hi Kubikle
Thanks