BEGIN

此説明頁面適用於 Studio。 此資訊亦適用於 Desktop Studio。

相依性

  • Begin 必須是程式碼中的第一個動作。
  • 每個Studio程式碼都必須有一個Begin動作。如果一個程式碼有多於一個Begin,該程式碼可能無法按預期運作。

支援的程式碼類型

一個正方形,其上有一條通往其他三個正方形的分支線。

Icon of gray-green envelope

深綠色語音氣泡圖示

Icon of purple telephone handset

鏽色留言符號圖示,由兩個以線條相連的圓形組成

Icon of pink document with lines of text

Icon of green mobile phone with a speech bubble on its screen

Icon of purple computer monitor with a mobile device overlapping its lower right corner

通用

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

輸入屬性

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

屬性

描述

新增標題

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon.

應用程式

此屬性未使用。

參數 ```

Allows you to change the name of the default variables that hold values for parameters that are passed to this script. The default variables are p1 - p9, but if you specify names in this property, those names replace the default variable names that the parameter values are passed in. If you don't change the names, the variables retain their default pX names.

若要變更名稱,請為傳遞至此程式碼的每個參數新增新名稱。Enter 最多九個變數名稱,每行一個。 變數名稱沒有必要與傳遞參數的來源中所使用的對應變數名稱相符,但應具有意義。

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

```

結果分支條件

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

條件

描述

預設

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

提示及技巧

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