cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
901
Views
0
Helpful
1
Replies

UC500 Multiple Holiday Schedules

collinmoerman
Level 1
Level 1

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.

Thanks.

1 Reply 1

collinmoerman
Level 1
Level 1

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.