Get Source Map

This help page is for Desktop Studio.This information is also available for CXone Studio.

獲取既定來源的現有圖例。例如,如果您想要新增至現有配對,您可以獲取來源配對並向其附加新的資料定義。

相依性

Get Source Map 僅用於 Proactive XS。

支援的指令碼類型

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.

通用

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

輸入屬性

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

屬性

描述

SourceName 發起記錄的來源的名稱。提供系統內記錄的邏輯分組。如果來源配對無效或丟失,則可能會收到「缺少外部 ID」錯誤。

輸出屬性

這些屬性包含變數,用於儲存執行動作後返回的資料。當動作完成後,它們可供參考和使用。

屬性

描述

Results (out) 包含動作執行結果的動態資料對象。

結果分支條件

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

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

InvalidSource

提供的原名稱不存在時所採用的路徑。

指令碼範例

下面是一個範例,說明如何在指令碼中使用此動作。這不是一個完整的指令碼。可能需要額外的指令碼。

以下範例僅是更強指令碼的一部分。在 Createsourcemap 電話指令碼範例中可見整個指令碼。指令碼的此部分用於檢索您可以對其進行變更的現有來源配對。

點擊兩下 Snippet 動作以查看 Snippet 屬性︰

是否要下載此指令碼