Jump to content

ANSWERED 4 week rotation

Recommended Posts

I have four out of hours engineers on a weekly rotation. Each monday I have to edit my call routing with the details of that weeks on call engineer.
As the  sequence of engineer rotaion never changes, I was wondering how I could scipt this so the call is passed to the correct enginer for the week they are on call.


i.e week 1 route to engineer 1

week 2 route to engineer 2 

etc etc

and this rotates through the four engineers on a week by week basis continually.


I am open to any suggestions anyone may have.

Thanks in advance

Share this post

Link to post
Share on other sites
On 6/15/2020 at 4:12 PM, Tom Wellige said:



I took the liberty to put all this into a complete script and wrote a small blog article about it. You can find it here:

Please feel free to ask any follow up questions.


Hi Tom, thanks for this. With a small amount of tweaking it's exactly what I wanted.

Share this post

Link to post
Share on other sites

Hi Tom,

How does the script determine which day (Sunday or Monday) is the first day of the week? Is there a way to change this?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.