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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Variables for Start/Close?

Status
Not open for further replies.

bravosfreak

IS-IT--Management
Nov 5, 2004
31
US
I am trying to find a way to simplify our vectors. We have several hundred vectors for different clients that have the same open/close times. The problem is that in the event we change our hours, each vector needs to be changed. I have experimented with VIV but cannot come up with a solution that will work. Below is a sample vector. We are changing our end of day from 7pm to 8pm and I'd like to simplify this for next time. FYI vector 3 sends the call to our call answering service.
Thanks in advance for your help.

CALL VECTOR

Number: 1 Name: INSURANCE Q.
Multimedia? n Attendant Vectoring? n Meet-me Conf? n Lock? n
Basic? y EAS? y G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? n
Prompting? y LAI? n G3V4 Adv Route? y CINFO? y BSR? y Holidays? y
Variables? y
01 goto vector 3 if time-of-day is mon 19:00 to tue 08:00
02 goto vector 3 if time-of-day is tue 19:00 to wed 08:00
03 goto vector 3 if time-of-day is wed 19:00 to thu 08:00
04 goto vector 3 if time-of-day is thu 19:00 to fri 08:00
05 goto vector 3 if time-of-day is fri 19:00 to mon 08:00
06 goto vector 3 if staffed-agents in skill 9 = 0
 
setup another vector to do time processing....

time vector..
1-5 goto step 9 if time = whatever
6 goto step 9 if staffed in skill 9 = 0
7 set a = none add 1
8 return
9 set a = none add 2
10 return

then in the other vectors, instead of all the time steps,, just put in one step
1 goto vecotr xx @ step 1
2 goto vec xx if a = 1 (open hours)
3 goto vec xx if a = 2 (closed hours)

step one will send it to the time processing vector,,, the return step will send the call back to the original vector, at the next step,,

then if you change hours you just change the one time routine..

also if you have several departments with different times, you can create anouther subroutine,, (continue in the original time vector @ step 11)
then in department x's vector
1 goto vec xx @ step 11
2 goto xxxxx etc..

my time vector has 3 different time routines in it,, for different shifts and the original call processing vectors just point to the appropriate step in the time vector for that department...

hope it helps.
 
also,, if all the time is the same.... like above then you could do this in the time vector
1 goto step 6 if time-of-day is all 19:00 to all 08:80
2 goto step 6 if time-of-day is fri 19:00 to mon 08:00
3 goto step 6 if staffed-agents in skill 9 = 0
4 set a = none add 1
5 return
6 set a = none add 2
7 return

you dont need to define each day, if hours are the same,,
also, don't forget you need to set the variable in change variables.. type = collect, scope = L, length = 1, start = 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top