Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Contact Center Express Scripting (CCXS) Developer Center
Overview
Documentation
Community
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Contact Center Express Scripting Questions
Time of Day Scripting
Threads [
Previous
|
Next
]
Kyle Rogers
Posts:
1
Join Date:
7/8/10
Recent Posts
Time of Day Scripting
Answer
8/24/12 1:13 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
The options for time of day time ranges are in 15 minute increments. i need to open a queue at 7:55 AM. Any idea how I could do that?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jonathan Adams
Posts:
6
Join Date:
11/2/12
Recent Posts
RE: Time of Day Scripting
Answer
11/2/12 4:48 PM as a reply to Kyle Rogers.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
You could set it to open at 8am and then parse the time (T.hour, T.min) and on the day's it's open, run an if() statement for this 5 minute window, then GoTo open if it matches. Or you could do the reverse, in a way - have a specific switch case for 7am-8am, and only allow it to go to Open if it's 7:55~7:59; otherwise go to Closed. Doing it that way might be better so you don't have to mess around with am/pm recognition manually. Not really any other way around it if they don't let you enter specific times.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top