Onsignal
此説明頁面適用於 Desktop Studio。 此資訊亦適用於 Studio。
|
|
接收來自其他指令碼的構通。 |
相依性
- Onsignal 是一個事件動作。
- Onsignal 事件用於接收來自其他指令碼的通訊。
- Onsignal 事件會在訊息到達時,中斷任何正在處理的程式碼,包括由 Signal 動作所發起的訊息,此動作會將訊息傳送至 Onsignal 事件,並會中斷程式碼的流量。
- 從Signal動作傳遞的參數將會以 SP1、SP2、...SPn 的形式接收。您可能需要仔細設計程式碼,以便在Signal動作完成後,程式碼可以繼續執行。
- 一個指令碼中只能有一個 Onsignal 事件。
- The Onsignal event is triggered by:
- 一個外部訊號動作。
- 來自 URL 的訊號動作。
- 一項 Web 服務。
支援的程式碼類型
|
|
|
|
|
|
```
|
|
|
|
通用 |
電郵 | 聊天 | 電話 | 語音郵件 | 工作項目 | SMS |
|
輸入屬性
這些屬性定義了動作執行時使用的資料。
|
屬性 |
描述 |
|---|---|
|
標題 |
Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. |
|
SrcContactIDVar |
變數名稱,用於接收發出Signal動作的程式碼的來源 ID。 通常,當Onsignal事件從另一個程式碼接收到Signal訊息時,Src Contact ID Var屬性中的值將會是傳送該Signal訊息的程式碼的聯絡 ID。 當收到 URL 或 Web Service Signal 訊息時,並沒有與該 Web Service 相關聯的聯絡 ID |
| 參數 |
將傳遞至接收指令碼的參數值。 |
結果分支條件
結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。
|
條件 |
描述 |
|---|---|
|
預設 |
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. |