09-27-2022 07:10 AM
Hello,
I was wondering if someone could assist. I'm trying to route a CED entry to another programmed script and within that programmed script be able to bypass some greetings and options based on the CED entry made.
Example:
Script A - User presses option 4
Option 4 sends the user to Script B
Within Script B I would like to route calls from that "option 4" to a Run Ext Script that would bypass all greetings prior to this one. So instead of hearing all the recorded messages, calls from "option 4 - Script A" would hear the final message.
I have tried using variables and a "if object" that don't seem to pass to Script B.
Any help would be appreciated. -Thanks
Solved! Go to Solution.
09-28-2022 11:07 AM
Thanks everyone. After rebuilding the statements the call is properly routing with the If statement. Not sure why but it is working now.
Thank you again, much appreciated.
09-27-2022 04:46 PM
You didn't mention if this was for CCE or CCX or something else, but if you're talking about UCCE Script Editor (since you mentioned Run Ext Script), the variables definitely carry over until they are overwritten.
So if you (for instance) wrote "Sales" in Variable 2 in Script A based on their option 4 selection and then sent the call to Script B and had an IF node looking in variable 2 and if it has content, don't play the regular menu and instead go right to queue, that definitely will work.
09-28-2022 05:40 AM
This is the way. Also, post a picture of your script where you're sending the call over. Like @bill.king1 make sure you have a set PV node before you transfer it. Use a go to node script for best results.
david
09-28-2022 06:09 AM
Thanks. Yes sorry CCE.
You ill see in the attached picture (Script Capture) I have a Set Variable programmed before going to script "AMRS_CLS_Records". Attachment "Script Capture 2" is where I have an If statement.
I'm not using PeripheralVariable9 anywhere else in the second script.
09-28-2022 06:25 AM
Sorry If statement for script B is written with
Call.PeripheralVariable9=="Records_Choose_4"
09-28-2022 06:36 AM
09-28-2022 06:47 AM
Yes. Still follows the X clause. I'm going to try another built script with minimal programming.
09-28-2022 07:53 AM
09-27-2022 08:54 PM
In addition to what bill.king1 said, can you please provide more details about your setup? I will ask you some questions:
- How do you send the call from script A to script B, when user select option 4? Which node in the ICM script do you use for it?
- Does your script B works with script A only, or it can be triggered from other Dialed Numbers too? If I understood you correctly, in script B you have several IVR messages, and you want to skip all of them, if the call comes from script A, right?
- Do you use ICM Microapps or Studio Script in Run Ext Script node of the script B?
09-28-2022 06:15 AM
Hello Dmytro,
- How do you send the call from script A to script B, when user select option 4? Which node in the ICM script do you use for it?
I'm using object Got To Script
- Does your script B works with script A only, or it can be triggered from other Dialed Numbers too? If I understood you correctly, in script B you have several IVR messages, and you want to skip all of them, if the call comes from script A, right?
Script B is active and is being used by other dialed numbers. Calls transferred to this script from script A need to hear the initial message, "This call may be recorded or monitored......" Then it needs to skip the next message and go right to the PQ.
- Do you use ICM Microapps or Studio Script in Run Ext Script node of the script B? Studio Script
09-28-2022 07:23 AM
As David already said, all looks fine in your script. But maybe you reassign Call.PV9 before this IF node? Don't you have any Set Variable Node related to Call.PV9 in your Script B?
09-28-2022 11:07 AM
Thanks everyone. After rebuilding the statements the call is properly routing with the If statement. Not sure why but it is working now.
Thank you again, much appreciated.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide