cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
865
Views
0
Helpful
3
Replies
Highlighted
Beginner

Script - half day

                   Hi Guys,

How can i get an example of UCCX scripts for half day? I figured holidays but not an half day. I'm a beginner of CCX 8.5 script. Thanks, SP

Everyone's tags (4)
3 REPLIES 3
Beginner

Script - half day

Hi Sung,

Like many cisco products, there are several ways to get what your after done.

I could provide an example script too you but i feel every contact center admin should understand there script before uploading it too the server.

If you generate a script and upload it here...  I would be happy to guide you through the process.

The options you have are as follows

1) Change the script the day of the scheduled half day.  You would change the time of day step to match your operational hours. You will then revert the script back to the orignal script on non scheduled half days.

2) Create an if state (or a switch statment) that does a date check.  The date can be a string within the script or read from am XML file (xml file is the typical way of doing it). If the dates match...  then branch out to the half day hours.

Beginner

Script - half day

I created holiday XML file and it worked this Columbus day however I do not know how to add half day in the holidays.xml file. Here is attached holiday xml and script. What if Thanksgiving eve 11/21/2012 is an half day and hours is 8:00 a.m. to 1 p.m., should i added into the holiday.xml such as like this?

11/21/2012
08:00 to 13:00

???

Thanks,

SP.

holiday.xml



  10/04/2012
  10/08/2012
  11/22/2012
  11/23/2012
  12/24/2012
  12/25/2012

Beginner

Script - half day

Put in more parameters for your XML.  Can you always be sure the holiday hours?  I would do it like the following and have it test the date and the hour.

    

    

Make like an after hours boolean varible and run a loop to check each holiday against the date.  If you get a match, then see if the current hour is equal or greater than the start time and less than the end hour.  If you get a match then have it skip the during hours logic that you have.  You could even go as far as adding like a wave="LaborDay.wav" to each of the entries and have it play a special wav for each holiday.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards