Adding a DOY variable

Last Updated : Apr 21, 2022 |

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

Procedure

  1. On the Configuration Server web portal, go to Administration > Contact Center > Vector Variables.
  2. At the top-right corner of the Vector Variables screen, click the Add icon.

    The Configuration Server displays the variable configuration fields.

  3. In Name, type the variable name.

    You can type a maximum of 20 letters of the basic Latin script.

  4. In Type, select doy.
  5. In Description, type a short description for the variable.

    You can type a maximum of 50 Unicode characters.

  6. At the top-right corner of the screen, click Commit.

    The Configuration Server saves the variable configuration and redirects you to the Vector Variables screen.