I have 3 CCX scripts I'm working with. I need to be able to pass the sessionID to all the scripts successfully. The session info/ID shows up properly on the 1st script when I run debug but I am unable to get this to the 3rd script.
1st script- main script.
2nd script - triggered via Call Subflow from 1st script and I pass the session info/ID via Input mappings
3rd script - triggered by Place Call from 2nd script.
- Get Contact Info
- Get Session Info
-Call Subflow with Input mappings
- Set Session Info
- Place Call
- Get Session
- Get Session Info
Looked through some docs and posts but can't get it to work still. Suggestions? TIA.
You can create a session mapping before placing the call to script 3, then in script 2, under the successful branch of the place call, use the Set Enterprise Call Info step to pass the mapping ID to script 3 as an ECC variable (second tab). Should be something like "user.mappingID", but really, you can name it whatever you want. Then in script 3, use the Get Enterprise Call Info step to read that mapping ID out, and use the Get Session step to retrieve the original Session object.
The Mapping ID can be anything, to include the Session ID itself, or a time stamp like this:
"" + (new Date()).getTime()
It just needs to be unique so no two calls end up with the same mapping ID.
The reason this works is because the Contact resulting from the Place Call step is the same Contact as the Triggering Contact in script 3, and thus they share the Contact's ECC variables.
As I write this, I am wondering if you could just pass the Session variable from Script 2 to Script 3 in the Enterprise Info steps, but I think they only accept Strings. I don't know. I'd have to test that later, but my gut tells me they do not. If they did, then just skip the mapping part, and pass the Session variable itself.
New Cisco Champion Radio release on Zero Trust for WebexListen: https://smarturl.it/CCRS8E14 Follow us: https://twitter.com/CiscoChampion Cisco introduced End to End (E2E) Encryption in 2008 as a Webex Meeting option where only the me...
Community Live- Tour of the Real-Time Monitoring Tool
(Live event - Tuesday, 20 April, 2021 at 10:00 am Pacific/ 1:00 pm Eastern / 7:00 pm Paris)
This event will have place on Tuesday 20th, April 2021 at 10:00 hrs PDT
Learn: How to configure Cloud Connected PSTN with Webex Calling
CCP Provider Name
Product Home Page Link
Webex Calling Region
Countries Supported by Provider
Free Trial Link
Contact Provider Link
FR & LU
Meet the Authors Video - Leveraging SBCs to Empower a Changing World of Collaboration
(Live event – Tuesday, 16th, 2020 at 10:00 a.m. Pacific / 1:00 p.m. Eastern / 7:00 p.m. Paris)
This event had place on Tuesday 16th, February 2020 at 10am PST ...
This event had place on Tuesday 16th, February at 9:30am PST
The need for virtual collaboration across individuals, teams, organizations, and industries has been significantly changed with the global challenges presented in 2020. The indust...