Begin

指令碼開始點。 每個 Studio 指令碼和子指令碼必須有一個 Begin 動作。

相依性

  • Begin必須是指令碼中的第一個動作。
  • 每個Studio指令碼必須有一個 Begin 動作。 如果指令碼有多個Begin,該指令碼可能無法正常工作。

支援的指令碼類型

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 數位

輸入屬性

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

屬性

描述

Caption

Caption 改為能在指令碼中唯一標識此動作的內容。 「IVR 按鍵路徑」報告包括動作名稱和標題。 描述性的、獨特的標題使報告更容易閱讀和理解。Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT例如,您可以將其改成包括指令碼的名稱。

Application

此屬性未使用。

Parameters

允許您變更預設變數的名稱,這些變數儲存傳遞給此 script 的參數的值。 默認變數為 p1 - p9,但如果在此屬性中指定名稱,則這些名稱將替換參數值傳入的預設變數名稱。如果不更改名稱,變數將保留其預設的pX名稱。

To change the names, click the ellipsis icon in the field and add variable names for each parameter that's passed to this script. Enter up to nine names, one per line in the editor window 變數名稱不必與傳遞參數的源中使用的相應變數的名稱匹配,但它們應該有意義。

參數值來自調用指令碼或應用程式。 傳入指令碼的參數顯示在該指令碼的追蹤輸出Begin 動作中。

結果分支條件

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

條件

描述

Default

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

貼士與技巧

如果您的指令碼隨機地從中間開始,而不是從您希望的地方開始,請檢查是否不小心新增了第二個 Begin 動作。 指令碼從已新增的最後一個 Begin 動作開始。