03-11-2011 07:42 AM - edited 03-14-2019 07:33 AM
Hello,
We have a small contact center site in Arizona that does not observe daylight savings time, and all other sites on this CM cluster/CUCCX server do observe DST. Any suggestions on how I could configure a script section that would negate the effects of DST? We currently go into the script twice a year and manually change business hours. There's gotta be a better way...
Thanks,
Landon
03-13-2011 10:46 AM
03-16-2011 09:36 AM
Thanks for the info! We are in the process of preparing to upgrade, so that's something to look forward to. We are currently running 7.0(1)SR05_Build504. I was hoping to find an interrim solution that would work with our current version. Any ideas on that?
03-16-2011 10:19 AM
If your UCCX is licensed for Enhanced or Premium, it's possible but ugly. You'd need two things, a check to see if the UCCX server is observing DST right now, and then both sets of Time of Day steps to branch to depending on the result. Include your Day of Week step as well, if the timezone differential would cause you to trip across day boundaries.
The code would look something like this: (mostly untested)
{
TimeZone TZObj = TimeZone.getTimeZone("America/New_York");
return TZObj.inDaylightTime(new Date());
}
If your UCCX is only licensed for Standard, it's still possible but even uglier. You'd use the same branch logic to pick a Time of Day step, but determining if DST is active would be really convoluted. I could see if I can cobble something up if there's a serious need.
03-16-2011 11:05 AM
Thanks again for the info - we're running enhanced, so I'll take a shot at the DSTActive vairiable you mentioned. I'm hoping we can get the upgrade underway by the end of the year. It's just a lot of prep work since 8 relies on CM being 8 as well. We have 10 prod clusters and about 130,000 users, so upgrading CM is always a pretty lentghy process.
I really appreciate your feedback!
Landon
Landon Birkholz
United Health Group IT
landon_c_birkholz@uhc.com
763-744-1511
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