HOURS

此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。

小时图标:蓝色时钟表盘

设置组织的操作小时配置文件,以便您可以根据组织处于营业、关闭、休假等状态,在脚本中配置不同的分支。 例如,您可能希望在节假日或联络中心关闭时播放不同的问候语。

您可以在 NiCE CXone ACD 应用程式中创建或编辑小时操作配置文件。在 NiCE CXone 中编辑配置文件时,请注意,超过一个脚本可以使用同一个配置文件。 对配置文件的更改会影响使用该配置文件的所有脚本。

在 NiCE CXone 中创建的任何配置文件都会自动显示在 Studio 的 Hours of Operation 窗口中。 如果您有多个业务单位Closed 用于管理您的 NiCE CXone 系统的技术支持、账单和全局设置的高级组织分组。,请确保在 Studio 中选择与您在 NiCE CXone 中创建 Hours of Operation 配置文件时所用的相同单位。 如果选择了不同的业务单位Closed 用于管理您的 NiCE CXone 系统的技术支持、账单和全局设置的高级组织分组。,则不会看到相同的配置文件。

默认情况下,工作时间配置文件使用您租户所选的时区。如果您想选择不同的时区,可以在小时操作之前,使用时区 操作。

支持的脚本类型

其中一条分支线通向其他三个正方形的正方形。

Icon of gray-green envelope

深绿色对话气泡图标

Icon of purple telephone handset

Icon of rust-colored voicemail symbol of two circles joined by a line

Icon of pink document with lines of text

绿色手机图标,屏幕上有一个语音气泡

Icon of purple computer monitor with a mobile device overlapping its lower right corner

通用

Email 聊天 电话 語音邮件 工作项目 短信 Digital

输入属性

这些属性定义操作在执行时使用的数据。

属性

说明

添加说明文字

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。

配置文件 通过此属性,您可以选择营业时间配置文件,脚本使用该配置文件来确定您的联络中心是营业、关闭、休假等状态。 如果您需要添加新的配置文件,则必须在 NiCE CXone 中的联系人设置页面中进行。

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

默认

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

Open

Path taken if the current date and time match the specified criteria for being open.

Closed

Path taken if the current date and time fall outside the specified criteria for being open.
Holiday Path taken if the current date is marked as a holiday in the settings.
错误 Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.
Weather Path taken if you have selected Weather in the Override Branches section in your Hours of Operation profile in NiCE CXone.
Meeting Path taken if you have selected Meeting in the Override Branches section in your Hours of Operation profile in NiCE CXone.
紧急情况 Path taken if you have selected Emergency in the Override Branches section in your Hours of Operation profile in NiCE CXone.
其他 Path taken if you have selected Other in the Override Branches section in your Hours of Operation profile in NiCE CXone.

脚本示例

这是一个示例,说明如何在脚本中使用此操作。 它并不是一个完整的脚本。 可能还需要编写其他脚本。

此脚本使用小时操作配置文件(在 Hours 操作中选择)来确定要关注的路径(由用户定义的变量设置)。 除了有助于确定您的公司是否处于营业、歇业或休假状态,整个脚本中还显示“分支覆盖”路径(“错误”、“天气”、“会议”、“紧急情况”或“其他”)。 如果出现临时问题(例如恶劣天气或紧急情况),可以通过操作小时(在 NiCE CXone 中)在临时时间段内设置这些分支。 请记住,如果您在 NiCE CXone 中选择分支覆盖选项,则您的脚本必须具有相应的分支;否则,脚本将关注默认分支。 单击此处,了解有关 NiCE CXone 中操作小时内分支覆盖设置的更多信息。

Example script using the HOURS action

下载此脚本。