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

Can you to Time of Day in 5 minute increments?

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

Can you to Time of Day in 5 minute increments?

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

2 REPLIES

Can you to Time of Day in 5 minute increments?

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

New Member

Can you to Time of Day in 5 minute increments?

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.

471
Views
5
Helpful
2
Replies
CreatePlease to create content