05-04-2020 01:25 PM
I've seen other posts related to this, but I'm still a little confused about when to use the Terminate step in a UCCX script. I had always thought that you should use the Terminate step to not only terminate any call legs, but to also free up any resources UCCX had allocated to the call during the execution of the script. I've been using this step at the end of all my UCCX scripts for years.
I'm now adding functionality to a script that sends an email when a caller abandons the call. I'm using a Contact Inactive exception to accomplish this. What I'm finding is that even if the call is routed to an agent, as soon as it hits my Terminate step, the script throws an exception and follows my exception logic.
So my question is, when is the correct time to use the Terminate step? Is it only used when you want to forcibly disconnect a caller such as in a callback scenario?
Thanks,
Glenn
05-05-2020 06:28 AM
I've never read any best practice on this, but here's how I do it.
1. Do not use the terminate state in a CSQ (see next one).
2. Only use a terminate step when you're done with the call and want to disconnect the call. For example, after hours.
3. Always use a terminate step and don't let the call just go to the end of the script and timeout.
david
05-05-2020 11:26 AM
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