Clearlist

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

支援的程式碼類型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

電郵指令碼類型的圖示 - 菱形中的大 @ 符號。

聊天指令碼類型的圖示 - 帶有省略號 (...) 的菱形聊天氣泡。

電話指令碼類型的圖示 - 一種帶有彎曲電話線的老式電話聽筒,表示會發出聲音。

語音郵件指令碼類型的圖示 - 類似於盒式磁帶的符號 - 兩個圓圈位於一條水平線上。

``` 工作項目指令碼類型的圖示 - 有一個角向下折疊的紙張,上面有一個項目符號清單。 ```

SMS 指令碼類型的圖示 - 帶有聊天氣泡的智慧型手機。

通用

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

相關動作

This action is one of several actions that store and retrieve data from a database table in order to make the data accessible to other scripts; it behaves like a list of fields or values. Use them for storing multiple values, or values needed further along in other scripts. The complete list of actions, including this action, is: Putvalue, Getvalue, Remvalue, Getlist, and Clearlist.

這些動作使用一種僅可用這一組 Studio 動作存取的獨特資料類型。 這些資料無法藉由任何其他方式存取。 無論使用者的權限如何,使用者都無法存取並使用本資料庫。

這些值會在資料庫表中列出有限的時間,此時間設定於 Putvalue 動作的 TTL 小時 屬性中。預設時間為 24 小時,但可設定範圍為 1 小時到 168 小時(7 天)。 在達到 TTL 之前,您可使用 Remvalue 動作刪除資料。這可讓您透過指令碼完全掌控資料。

**注意:**

  • 如果其他指令碼或聯絡人需要存取多個變數,一般而言,資料庫是最佳的解決方案。
  • 非持久性公共變數可在設定該等變數的指令碼的整個生命週期內,由其他指令碼或聯絡人共用。 這些變數釋放後會自動清除。

輸入屬性

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

屬性

描述

Caption ```

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

```
範圍

選擇此動作處理的值對其他聯絡人的可見程度。 只有共享相同範圍的聯絡人才能存取相同的資料。 選項包括:

重要您選取的 範圍 必須與您在程式碼中所包含的所有其他清單動作所設定的 範圍 相符。這些清單動作為 Putvalue、Getvalue、Remvalue、Getlist及清除清單。 即使清單的名稱相同,如果範圍的設定不符,系統仍無法識別它們。

範圍 屬性中包含的所有名單都將被清除。

結果分支條件

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

條件

描述

預設

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.