Setdb

選擇特定的資料庫提供者並配置提供者動作逾時。

您也可以使用 Setdb 進行以下操作:

  • 更改查詢動作允許的逾時時間。預設逾時為 120 秒。如果您的查詢預計花費的時間比此長,那麼您可以相應地調整逾時。當查詢動作逾時時,正常的回應是將該動作重新提交給提供者。如果第一個查詢仍在處理中,這可能會導致不良結果。通常,逾時應僅因網路相關問題而過期。
  • 檢查資料庫提供者的條件。當選定的資料庫提供者由於維護或網路故障而未連接到 CXone 時,將觸發Not Available分支條件。在此情況下,您可以避免處理將失敗的查詢動作。

Dependencies

  • 在使用之前,必須在 CXone 中設定好資料庫提供者。
  • 如果您有多個資料庫並且沒有確定要使用哪個資料庫,Studio 將使用優先次序或清單中的第一個。
  • 使用Setdb 在所有 SQL 動作後選擇 DB 提供者 (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.

一般

電郵 聊天 電話 語音郵件 工作項目 SMS 數位

Input Properties

這些屬性定義了動作執行時使用的資料。

屬性

描述

標題

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

GroupName

NICE CXone 管理員配置的資料庫提供者的名稱。

要尋找資料庫提供者名稱,請前往 CXone。此報告將顯示您的資料庫提供者名稱。如果您有任何關於資料庫提供者的問題,請聯絡您的客戶經理。

此屬性區分大小寫。輸入資料庫提供者名稱,而不是服務名稱。服務名稱在設定資料庫提供者時使用。

TimeoutSec

等待處理查詢的最大秒數。預設為 10

結果分支條件

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。
NotAvailable 所選的資料庫提供者未連接到 CXone 時採用的路徑。