Adding a DOY variable

Last Updated : Sep 18, 2026 |
Prolog information
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
  1. On the Configuration Server web portal, go to AdministrationContact CenterVector Variables.
  2. At the top-right corner of the Vector Variables screen, click the Add icon.
    STEP RESULT:
    The Configuration Server displays the variable configuration fields.
  3. In Name, type the variable name.
    ADDITIONAL INFORMATION:
    You can type a maximum of 20 letters of the basic Latin script.
  4. In Type, select doy.
  5. In Scope, select G(lobal).
  6. If you want to add one or several variables, in the top-left corner of the screen, click Add New.
  7. In Description, type a short description for the variable.
    ADDITIONAL INFORMATION:
    You can type a maximum of 50 Unicode characters.
  8. At the top-right corner of the screen, click Commit.
    STEP RESULT:
    The Configuration Server saves the variable configuration and redirects you to the Vector Variables screen.