01-02-2025 01:13 PM
Is it possible to have UCCX email the exception when a call fails during script execution. I need the reason for call failure along with the caller details.
Solved! Go to Solution.
01-08-2025 01:31 AM
Im think there is an CUIC report that shows application failures with the exception (But can't remember the name and if it still exist)
01-08-2025 07:49 AM
You're thinking of the Aborted Rejected Call Detail Report.
01-03-2025 03:04 AM
Yes but you would need to catch the exception in the scripts, clear it, and then jump to logic that contains the email steps. There is not a generic catch-all.
01-03-2025 06:16 AM
Thank You Jonathan. I am trying like below. this is my test script - i am not sure if this is the correct way to do this. i am hoping to use this as a default script so anytime a call fails due to script issue, we could catch the reason via an email.
when i do reactive debugging, it doesn't get to the handle exception step. The script does fail with the below message and i am hearing the default "system problem" message
01-06-2025 10:04 AM
Which step threw that exception, exactly? Which step did you step over to generate that dialog?
Looking at that screenshot, I'm also unsure what you expect to get from this effort. A well-written script shouldn't be throwing exceptions in production; that's what QA/testing is for. Things that can go wrong should be handled within the script gracefully so the call isn't dropped in the first place. In practice, the ContactInactiveException is the only one used at the top of every script. And even if you generate an email alert, it seems unlikely to tell you enough context to actually troubleshoot the problem. You'd want to know exactly which step threw the exception and, in most instances, the values of any variables involved in the step that failed.
01-06-2025 11:37 AM
It failed @ the Select Resource Step, the CSQ was having the wrong name. But I understand your point. ContactInactiveException is the only one we have today and is working well. Considering there is no easy way to catch it all, i will drop this idea. Thanks for your replies and help.
01-08-2025 01:31 AM
Im think there is an CUIC report that shows application failures with the exception (But can't remember the name and if it still exist)
01-08-2025 07:49 AM
You're thinking of the Aborted Rejected Call Detail Report.
01-08-2025 09:51 AM
Yes, that is correct. I was able to find the exceptions in Aborted Rejected Call Detail Report.
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