ONSIGNAL

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

衛星接收天線。

接收來自其他指令碼的構通。

相依性

  • Onsignal 是一個事件動作。
  • Onsignal 事件用於接收來自其他指令碼的通訊。
  • Onsignal 事件會在訊息到達時,中斷任何正在處理的程式碼,包括由 Signal 動作所發起的訊息,此動作會將訊息傳送至 Onsignal 事件,並會中斷程式碼的流量。
  • 從Signal動作傳遞的參數將會以 SP1、SP2、...SPn 的形式接收。您可能需要仔細設計程式碼,以便在Signal動作完成後,程式碼可以繼續執行。
  • 一個指令碼中只能有一個 Onsignal 事件。
  • The Onsignal event is triggered by:
    • 一個外部訊號動作。
    • 來自 URL 的訊號動作。
    • 一項 Web 服務。

支援的程式碼類型

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

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.

來源聯絡 ID 變數

變數名稱,用於接收發出Signal動作的程式碼的來源 ID。

通常,當Onsignal事件從另一個程式碼接收到Signal訊息時,Src Contact ID Var屬性中的值將會是傳送該Signal訊息的程式碼的聯絡 ID。

當收到 URL 或 Web Service Signal 訊息時,並沒有與該 Web Service 相關聯的聯絡 IDClosed 指派給每個聯絡的唯一數字識別碼。,因此,Src Contact ID Var 屬性的值將為0(零)。

參數

將傳遞至接收指令碼的參數值。

結果分支條件

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

條件

描述

預設

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.