About this task
Add a DOY variable to provide the current day of the year for call processing. The contact center obtains the value from the Configuration Server calendar. The contact center can assign a value in the range from 1 to 366 to the variable. A value of 366 is provided for leap years. If the contact center assigns a value of 366 to a DOY variable and the current year is not a leap year, all goto vector steps with this variable fail.
You can use a DOY variable as a condition in the goto vector step. For example, the following step directs the call to vector 214 if the current day of the year is Valentine's day:
goto vector 214 if D = 45