UCCX 8.5 - Pass information between Scripts

Version 1
    This document was generated from CDN thread

    Created by: Miquel Bover on 18-07-2012 11:04:10 AM
    <pre style="font-size: 14.399999618530273px; color: #666666; line-height: normal;">Hello

    - I have a UCCX version 8.5.1.11003-32

    - I'm working with two scripts, and I would like know if exist any change to pass call
    session related information, between this scripts.

    - I think that I must use "Get Contact Info" and  "Set Session Info" steps, using the
    context variable attributes, but I don't know how to do


    Please, help me


    Thank you</pre>

    Subject: Automatic reply: New Message from Steven McGoff in Contact Center Express S
    Replied by: Russell Hopkins on 15-10-2012 02:12:34 PM
    I am currently out of the office.  If you need immediate assistance please contact iTi support at support@iticommunications.com or call 704.765.6400.
    Regards,
    Russell Hopkins
    rhopkins@iTicommunications.com
    864.934.0276 - Mobile
    704.997.9264 - Office
    704.765.6669 - Fax
    www.iTicommunications.com

    Subject: AUTO: WINCHESTER, Derek is out of office (returning 10/17/2012)
    Replied by: Derek Winchester on 15-10-2012 02:14:34 PM
    I am out of the office until 10/17/2012.

    I will be out of the office starting October 8, 2012. I will respond to
    your email when I have the opportunity.

           For immediate concerns contact  Jake Paradis, he can be reached at
    914-872-8854.





    Note: This is an automated response to your message "New Message from
    Steven McGoff in Contact Center Express Scripting (CCXS) - Contact Center
    Express Scripting Questions: RE: UCCX 8.5 - Pass information between
    Scripts" sent on 10/15/2012 03:11:05 PM.

    This is the only notification you will receive while this person is away.

    Subject: RE: UCCX 8.5 - Pass information between Scripts
    Replied by: Steven McGoff on 15-10-2012 02:11:03 PM
    Miquel,
    Is one application a subflow of the other?
    If they are two separately running scripts, have you thought of using an xml file to pass information back and forth?  One xml file tp pass information one direction and a second xml file to pass information the other direction.
    This would be your simplest way to accomplish what you are looking to do if they are separate scripts.
    With a subflow, you can just pass the sessionID to the sublow and retrieve the necessary session information.
    Steve
     
     
     
    Miquel Bover:
    <pre style="font-size: 14.399999618530273px; color: #666666; line-height: normal;">Hello

    - I have a UCCX version 8.5.1.11003-32

    - I'm working with two scripts, and I would like know if exist any change to pass call
    session related information, between this scripts.

    - I think that I must use "Get Contact Info" and  "Set Session Info" steps, using the
    context variable attributes, but I don't know how to do


    Please, help me


    Thank you</pre>


    Subject: RE: UCCX 8.5 - Pass information between Scripts
    Replied by: Steven Pawlak on 15-02-2013 10:24:18 AM
    I believe there is an example of using Session in the Vol1 Scripting doc. 
    here is an abbreviated description. 
    Create a Session variable called session in both scripts. Use the Get Contact Info step to get the current session object and set it to this variable, in both scripts. 
    In the first script you use a Set Session step, using the ssession variable on first tab and SETTING name/value pairs on the second tab. 
    In the second script you use a Get Session Step, using the session variable on first tab and GETTING name/value pairs on the second tab. 
     
    it is that simple.
     
    Session Mapping is when you want to get a call that has termiated in the last 30 minutes, like someone calling back in. That is trickier.