Browse By

UCCX Simple Holiday Script

UCCX Simple Holiday Script

When creating a script in UCCX,  we need to ensure that the holiday prompts are played when there are some national holidays in the country/state. For example – Christmas, New Year, Independence day including some festivals celebrated in the country/state.

The below script is the simplest way to create a holiday script but however the recommended way is to use XML when creating holiday script.

UCCX Holiday Script:

Start > Accept the call > Check today’s date > If today’s date is matching with the holiday dates in a given list then play holiday prompt else route the call to the Queue.

If you don’t have prompts, you can create prompts from the link here : Text To Speech Free

Below is the screenshot of the script.


To download the script, click here

Hope this helps!

Published by Team UC Collabing

4 thoughts on “UCCX Simple Holiday Script”

  1. Jaron says:

    This is exactly how I’ve always done holidays, however I recommend setting your dates as variables/parameters that can be edited from the application page on the web interface so that you don’t have to edit scripts every time you need to change holidays. Also, you can set the d[now] as the value in parameters and don’t have to use the set command in the script to set it. It just makes the script a little bit cleaner and easier to read.

    1. Jaron says:

      One thing additionally, here is a better Text-to-Speech that sounds much less robotic:

      1. Administrator
        Administrator says:

        Thank you for sharing the link. It will help people reading the blog.

    2. Administrator
      Administrator says:

      I agree with you, this is what i wrote almost 6+ years back but i got a better solution for this using Xpath (XML). This is eliminate Admins touching the Application Page + Script. They can just modify the XML script and done.

      In case if you are interested:

Leave a Reply

Your email address will not be published. Required fields are marked *