08-23-2012 04:51 PM - edited 03-15-2019 05:49 AM
When I use Time of Day in my UCCX script, the options for the beginning/ending of time periods is in 15-minute increments. I need to be able to open a queue at 7:55 AM and close it at 7:05 PM. Is there a way to do this?
Solved! Go to Solution.
08-23-2012 09:13 PM
Hi you can't do that with the time of day step. You will need to add more logic here, with If statements. You can take the current time of the uccx server and then convert it to int variables and compare that to your "int" business hour variables (I used this before and works fine) also you can compare time type variables, here is one great post where Jonathan Schulenberg and Anthony Holloway give some tips.
https://supportforums.cisco.com/message/3441179#3441179
Other thread related that could help you:
https://supportforums.cisco.com/message/3177834#3177834
Gabriel.
Please rate helpful posts
08-23-2012 09:13 PM
Hi you can't do that with the time of day step. You will need to add more logic here, with If statements. You can take the current time of the uccx server and then convert it to int variables and compare that to your "int" business hour variables (I used this before and works fine) also you can compare time type variables, here is one great post where Jonathan Schulenberg and Anthony Holloway give some tips.
https://supportforums.cisco.com/message/3441179#3441179
Other thread related that could help you:
https://supportforums.cisco.com/message/3177834#3177834
Gabriel.
Please rate helpful posts
09-06-2012 01:13 PM
In case anyone else runs into this, I used the TIME variable-type.
I created 3 variables: currentTime, queueOpenTIme, queueCloseTime.
All were TIME variables in the T[HH:MM:SS AM] format.
T[now] pulls the current time.
My IF statement was set up as:
currentTime >= queueOpenTime && currentTime <= queueCloseTime
Thanks for the heads up on the Time Variable.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: