Integrate the Working Hours module with Designer (for advanced developers)
The Working Hours module can be used with an existing or a new IVR application flow. The customer can develop the full IVR flow using Designer and reuse the Working Hours module to check special dates and office hours. This enables the tenant to use the Provisioning Portal to manage hours.
- Create the tenant folder under the Provisioning Portal scripts root DFS folder, for example, D:\IVRScripts\{tenant ID}
- Copy the required Designer apps to the DFS folder, for example, D:\IVRScripts\{tenant ID}\{Designer App folder}
- Adjust the required Designer apps for the Working Hours module:
- Expose the existing office hours flow of blocks as a flow placeholder with an Assign block and name it Open. This flow of blocks becomes an island.
- Expose the existing non-office hours flow of blocks as another flow placeholder with an Assign block and name it Closed. This flow of blocks becomes an island.
- Reload the required Designer apps in the Provisioning Portal Flows (UI).
- Create one working hours placeholder in the Provisioning Portal Working Hours (UI) and call it Flow1_WH.
- Create two events in Flow1_WH and name them Open event and Closed event. Point the events to the respective flows created earlier (Open, Closed), and create the respective event schedules in the Weekdays and Special Dates calendars.
- Publish Flow1_WH.
- Go back to Designer and open the freshly published scripts. Join Flow1_WH from where Open was originally connected and save the Designer app.
- Go back to Provisioning Portal and reload the Designer app.
Consider the following IVR flow.
|
Block |
Description |
|---|---|
|
Flow1_WH |
This is the working hours placeholder injected by the Provisioning Portal Working Hours (UI). If calls arrive during office hours, calls GOTO Open, otherwise calls GOTO Closed. |
|
Open |
This is the Open flow placeholder that was connected from the Announcement block. It is an island of blocks for working hours. |
|
Closed |
This is the Closed flow placeholder. It is an island of blocks for after hours. |