cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
886
Views
5
Helpful
2
Replies

Can you to Time of Day in 5 minute increments?

kylebrogers
Level 4
Level 4

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?

1 Accepted Solution

Accepted Solutions

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

View solution in original post

2 Replies 2

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

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.

Getting Started

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: