Remvalue

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

RemValue 的圖示:單一資料庫磁碟

移除先前使用 Putvalue 動作儲存的特定清單值。

支援的程式碼類型

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

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

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

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

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

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

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

Digital 腳本類型的圖示-一部電腦顯示器,旁邊放置一部智能電話。

通用

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

類似動作比較

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 動作刪除資料。這可讓您透過指令碼完全掌控資料。

**注意:**

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

輸入屬性

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

屬性

描述

標題

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及清除清單。 即使清單的名稱相同,如果範圍的設定不符,系統仍無法識別它們。

名稱

用於識別值。 這可以是任何名稱或數字。 名稱不區分大小寫。 當使用Getvalue擷取值時,Name必須相同。 如果Name屬性不相符,即使範圍設定相同,彼此仍無法識別。

值

將從清單中移除的值或資料。

發生

選擇一個選項,以定義如果該值有多於一個執行個體時,要移除值的哪一次發生。

  • First
  • Last
  • 全部

當儲存多個同名值時,它們會建立一個清單。 要從清單的末尾移除,請將項目設定為最後一個。 要從清單的開頭移除,請將項目設定為第一個。

結果分支條件

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

條件

描述

預設

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.
NotFound Path taken if a data value is not found in the call suppression table and therefore the call should be made.