Setdb

操作会选择特定的数据库提供程序,并配置提供程序操作超时。

您还可以使用 Setdb

  • 更改查询操作的允许超时。默认超时为 120 秒。如果您的查询预计需要比这更长的时间,您可以相应地调整超时。当查询操作超时后,正常的响应是将操作重新提交给提供程序。如果第一个查询仍在处理中,重新提交可能会导致不良结果。通常,超时应仅由于网络相关问题而过期。
  • 检查数据库提供程序的条件。当所选数据库提供程序由于维护或操作而未连接到 CXone 时,将触发 Not Available 分支条件网络故障。在这种情况下,您可以避免处理将失败的查询操作。

Dependencies

  • 必须首先在 CXone 中设置数据库提供程序,然后才可以使用该提供程序。
  • 如果您有多个数据库并且没有确定使用哪个数据库,则 Studio 将使用优先级或列表中的第一个数据库。
  • 使用 Setdb 选择所有 SQL 操作之后的数据库提供程序 (Sqlselect, Sqlexec, Sqltable, and so forth).

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

Input Properties

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

属性

说明

说明文字

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

GroupName

NICE CXone 管理员所配置的数据库提供程序的名称。

要找到数据库提供程序名称,请转到 CXone。此报告将显示数据库提供程序名称。如果您对数据库提供程序有任何疑问,请联系您的客户经理。

此属性区分大小写。输入数据库提供程序名称,而不是服务名称。服务名称将在您设置数据库提供程序时使用。

TimeoutSec

等待查询处理的最大秒数。默认为 10

结果分支条件

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

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
NotAvailable 所选的数据库提供程序未与 CXone 连接时所采用的路径。