Spawn

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

The icon for the Spawn action - a curved piecve of paper with an ellipsis (...) next to it and an arrow pointing from the paper to the dots.

為不同的指令碼觸發一次性「喚醒電話」。產生的指令碼與呼叫指令碼並行執行。您可以用其來執行必須同時觸發的動作。當呼叫指令碼觸發 Spawn 時,再生的指令碼會立即開始,而呼叫指令碼則繼續完成處理過程,直到使用 StartDate 參數對再生進行排程為止。

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

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

屬性

描述

Caption

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

ScriptName 您想要建置的指令碼。您可以單擊動作屬性方塊頂部的 Choose Script 連結以從您的業務單元選擇指令碼。
SpawnIDVar 用於接收再生指令碼的唯一識別碼的變數名稱。預設變數為 SPAWNID。通常,識別碼是父指令碼的 主 ID。但是,如果父指令碼是子指令碼或再生指令碼,則 ID 為 聯絡 IDClosed 指派給每個聯絡的唯一數字識別碼。主 ID 和聯絡 ID 是為聯絡自動建立的預先定義變數。
Skill 選擇一項ACD技能Closed 用於基於客服專員技能、能力和知識的互動的自動化傳遞。如果您選擇Default,當此動作觸發時,指令碼將使用指令碼中的預設技能集。如果指令碼中未設定技能,將使用指派給關聯的聯絡點Closed 呼入聯絡人用來發起互動的入口點,如電話號碼或電郵地址。的技能。您可以在此屬性中使用變數。
StartDate 已產生指令碼的開始日期。使用格式(例如 MM/dd/yyyy hh:mm:ss tt)輸入日期/時間字串。要讓 Spawn 動作建立一次性指令碼排程,只需指定一個至少在未來 10 分鐘後的開始日期。如果未指定開始日期,則會立即產生目標指令碼。該動作和要產生的指令碼都使用業務單元的時區。 The action and the to-be-spawned script both use the tenant's time zone.
Parameters

Click the ellipsis icon in the field and add 新增要傳遞給子指令碼的值。在編輯器視窗中輸入最多九個值,每行一個值。這些值作為 parameter variables參數變數 p1- p9傳遞。

Result Branch Conditions

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

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。
OnLinked 當產生的指令碼使用呼叫語音指令碼發出語音 Link action時採用的路徑。Spawn 動作不會暫停指令碼而等待 OnLinked 分支條件觸發。相反,將觸發 Default 分支條件並記住 OnLinked 分支條件。這是一個中斷事件。

稍後,當下層指令碼執行 Link 時,上層指令碼將停止處理並跳轉到附加到 On Linked 分支的動作。

OnTerminated 產生的指令碼完成時採用的路徑。Spawn 動作不會暫停指令碼而等待 OnTerminated 分支條件觸發。相反,將觸發 Default 分支條件並記住 OnTerminated 分支條件。這是一個中斷事件。

稍後,當下層指令碼終止時,上層指令碼將停止處理並跳轉到附加到 OnTerminated 分支條件的動作。

Error 動作未能正確執行時採用的路徑。例如,當出現連接不良、語法錯誤等意外問題時。_ERR變數(帶有一個下畫線字元)應填入針對問題的簡要說明。

Tips & Tricks

  • 要讓 Spawn 動作建立一次性指令碼排程,只需指定一個至少在未來 10 分鐘後的開始日期。如果未指定開始日期,則會立即產生目標指令碼。
  • Spawn 指令碼動作可以觸發一個新指令碼。使用 Spawn 執行必須同時發生的動作。通常,動作一個接一個地發生。第一個動作必須完成,然後第二個動作被觸發。