Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

time of day vector steps 2

Status
Not open for further replies.

mikeydidit

IS-IT--Management
Feb 10, 2003
4,165
US
I have a vector (listed below) that I need to add a lunch schedule to. I have two time of day entries in it now for weekends and out of hours. But I'm not sure where to add the lunch TOD.. I appreciate the help.

01 wait-time 1 secs hearing ringback
02 goto step 13 if holiday in table 1
03 goto step 13 if time-of-day is fri 17:00 to mon 07:59
04 goto step 13 if time-of-day is all 17:00 to all 07:59
05 collect 1 digits after announcement 53067 for none
06 route-to number 31564 with cov y if digit = 1
07 route-to number 31554 with cov y if digit = 2
08 route-to number 58408 with cov y if digit = 3
09 route-to number 56137 with cov y if digit = 4
10 goto step 1 if digits = 0

When is the last time you helped someone, just because you were able to?

For the best response to a question, read faq690-6594


 
personaly and this is just my preference i always start with longest time first then work down , so in your vector I would swap steps 3 and 4 around and have lunch as step 5.

APSS (SME)
ACSS (SME)
ACIS (UC)
 
montyzummer that makes since to me. Thanks for posing this. I'll try this in a test vdn/vector and see how it goes..

When is the last time you helped someone, just because you were able to?

For the best response to a question, read faq690-6594


 
One more question on this. I need to add a step for each day? Its the only way I can see to do it on the release I am on.

Thanks

When is the last time you helped someone, just because you were able to?

For the best response to a question, read faq690-6594


 
What release are you on? Can you use service hour tables?
 
Thats kinda where I am at. I'm on 3 and I think that starts in 4. I can add one for each day if I have to. I was just seeing if their was something that I could to add this without adding 5 more steps.

When is the last time you helped someone, just because you were able to?

For the best response to a question, read faq690-6594


 

Does 3.x have variables or vector variables?

- Stinney

I love learning and passing on knowledge. "Because knowing is half the battle".... GI JOOOOOE!
 

Sorry variables or VDN variables.

- Stinney

I love learning and passing on knowledge. "Because knowing is half the battle".... GI JOOOOOE!
 

Actually, if lunch is always the same time, say 12 - 1pm why can't you have one line:

03 goto step 13 if time-of-day is all 17:00 to all 07:59
04 goto step 13 if time-of-day is fri 17:00 to mon 07:59
05 goto step XX if time-of-day is all 12:00 to all 13:00

- Stinney

I love learning and passing on knowledge. "Because knowing is half the battle".... GI JOOOOOE!
 
Stinney, the step 05 goto step XX if time-of-day is all 12:00 to all 13:00 works like a charm. Now that I have done some testing with it, i'll come in and put it into production tomorrow. My people still can't seem to remember to turn off the hunt group night service when they come back from lunch. Automating this will help...
If something comes up with it I'll post and let you know.

Thanks for posting.
I appreciate it.

When is the last time you helped someone, just because you were able to?

For the best response to a question, read faq690-6594


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top