Contents
Create Office Hours
- You must set up Office Hours if you want to implement Scheduled Callback and Disposition Dialog.
- Office Hours are used when requesting Callback API to create an immediate or a scheduled callback. See Start or Schedule a Callback for more information.
Upload the Office Hours Template
In the Services and Tools > Tools > Service Templates tab, make sure that the Office Hours template is available. Otherwise, click Upload to add the office-hours.zip to the Templates list.
Create the Office Hours Service
Click Create in the Office Hours tab, select office-hours in the filter and configure the business-hours service.
Set your Calendar Timezone
The Display Timezone is the timezone of your Calendar view and is set to the Browser timezone by default. The Office Timezone is bound to the _timezone parameter of the Office Hours service.
The Calendar view is in Read-Only mode if your Display Timezone and Office Timezone are different. In that case, the interface shows a warning message and does not allow you to edit the Calendar view.
[+] Show me the message
To fix this issue, click Settings and fix your Office Timezone and Display Timezone by setting identical timezones.
Add Office Hours to your Callback Service
Select your Callback Service and expand the General category. Find the _business_hours_service parameter and select your Office Hours instance in the drop down list.
Create Regular Office Hours
Select your Office Hours service in the Configured Service tab.
In the Calendar view, make sure that Regular Office Hours is checked.
Select your Office Hours service in Configured Services. You can add Office Hours by selecting a timezone in your Calendar view; the Office Hours interface shows up. Or, you can switch to the Table view and edit options there.
Switch Views to Check Office Hours
If you add Office Hours to one or more days in the week, the results apply to all months and weeks. Switch to the Month view to see the actual Office Hours of the month.
Add Holidays and Exceptions
You can set certain dates as Holidays so they will not be used for Callback and certain dates as Exceptions (or Special Office Hours) for days that require additional hours.
To add these special events, uncheck the Regular Office Hours parameter, then click in the Calendar view on the appropriate date to open the dialog box. By default, the special event is added to the current year.
When you create the holiday or the exception, if you select the This is an Annual Event option, the holiday or exception is planned annually, not only for the current year.
Exceptions Always Apply
If you set a Holiday and an Exception on the same day, then the Exception applies. The office is opened during the hours configured in the Exception.
If Regular Hours, Holiday, and Exception are set on the same day, then Holiday blocks Regular Hours, but the Exception still applies and the office is opened during the Exception's hours.
Add Holidays and Exceptions from the Table view
You can also add Holidays and Exceptions by editing the associated options in the Table view. If you do not check the Annual Event option, the holiday or exception is added to the current year.
Add Holidays and Exceptions from the Table view
Import Rules in Office Hours
The Import Rules feature enables you to set up Regular Hours, Holidays, and Exceptions (Special Office Hours) that you want to apply to several Office Hours services. The imported content (options and setup) becomes part of the Office Hours service.
- Further changes to the imported services (Regular Hours, Holidays, Exceptions) instantly apply to all the Office Hours services that imported the rules.
- The Import Rules feature ignores the timezones defined in the imported service.
Use Case: Import Holiday Rules
Let's consider that you have several offices in the United States, sharing the same federal holidays and vacations. In that scenario, you can create a dedicated Office Hours called Federal USA Holidays, and then import it in your U.S. offices, instead of manually adding the same holidays to your Calendar views for each service (Office New York and Office SFO in the example below).
Use Case: Import Exception Rules
Let's consider that, every two weeks during spring, all of your offices are opened on Wednesday evenings from 6-9 p.m. for a special event called Special Deal. In that scenario, you can create an Office Hours service called Special Deal Events where you create the needed extra hours. Then, you can import this rule in each concerned office (Office New York, Office SFO, and Office Amsterdam in the example below).
Note that Special Deal Events will apply even if Regular Hours and Holiday are set for a given date, as explained above.
Set up Rules in a Dedicated Office Hours Service
To set up these rules, create a new Office Hours service. In this example, two services are created: Special Deal Events and Federal USA Holidays.
Import Rules in Office Hours Service
View Imported Rules
Switch to the Calendar view to display the results of the imports. In this example, you can see that the Special Deal Events and Federal USA Holidays are imported in the Office SFO service.
If you update an Office Hour service (for instance, Special Deal Events or Federal USA Holidays), you will see these updates replicated to the Office Hours services importing the modified calendars (here, Office SFO).
You can also click Settings and see the imported Offices Hours in the list of Displayed Calendars.
Import Schedules in Office Hours
You can import Schedules from other Office Hours Services to combine working hours of multiple teams and shifts in the same Office Hours service. In this scenario, you can create a main Office Hours service (All Offices in the example below) into which you can import all the Office Hours schedules (Regular Hours, Holidays, Exceptions, and timezones). This results in the union of the imported Office Hours schedules within the timezone of the main Office Hours.
Import Schedules in Office Hours Service
Display Imported Schedules
Switch to the Calendar view to see the results of the imports.
In this example, the All Offices service combines the schedules of the Office SFO, Office New York, and Office Amsterdam services.
The timezones, Regular Hours, Holidays, and Exceptions are aggregated in the Calendar view that shows the callback coverage for the three offices.
You can also click Settings and see the imported Offices Hours in the list of Displayed Calendars.
Office Hours Options Reference
For a list of Office Hours options, see the Office Hours section of the Genesys Mobile Engagement Options Reference Guide.