Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

UC500 Multiple Holiday Schedules

Is there a way to have a holiday only apply to 1 auto attendant? I have a system where different holidays for different auto attendants are needed.


Everyone's tags (4)
New Member

UC500 Multiple Holiday Schedules

Paolo Bevilacqua

Create another time schedule, copy the script under another name, edit with script editor, and change schedule name to match.

You can also use my "universal AA" script that does everything with just parameter configuration, available  on the website mentioned in my profile.

Paolo deleted his post so I have quoted it here for continuity.  This is incorrect, as my post specifically mentions Holidays, not time schedules.

I have achieved this by creating a script with 10 Date parameters for Holidays and testing against Today's Date.  As of 8.6, you can get the current date in a Date variable by initializing it (new java.utils.Date())  You can then compare Today.getYear(), Today.getMonth(), and Today.getDate() against those same fields in the Holiday parameters.  If all the fields Match it is a Holiday and you can then make decisions based on that.

CreatePlease to create content