Signal

透過觸發 Onsignal action 事件與另一個指令碼通訊。

使用 SignalSignal 動作中斷另一個指令碼並將參數傳遞給它。最多可以傳遞九個參數。當訊號到達時,另一個指令碼可能正在積極處理其他動作。它將立即中止正在執行的任何動作並跳轉到 Onsignal 事件動作(如果存在)。

例如,建立下班後技術支援指令碼。一個客戶打來電話,多個指令碼隨即產生,以同時呼叫四名隨叫隨到的技術人員。當其中一個指令碼到達現場技術人員(而不是語音郵件或無人應答)時,產生的指令碼會向原始指令碼發出訊號,並且兩個呼叫會連接起來。

Dependencies

  • 目前的實作不能確保多個 ONSIGNAL 事件不會相互中斷。一個指令碼可能在同一時刻收到兩次訊號,並且表現得好像它只收到一次訊號一樣。此情況可以透過仔細編寫指令碼來避免。
  • 您必須參考正確的聯絡 IDClosed 指派給每個聯絡的唯一數字識別碼。一般來說,這可以透過使用藉由 Putvalue action 在資料庫中儲存的變數來處理。

Supported Script Types

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

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

一般

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

Input Properties

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

屬性

描述

標題

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

ContactID

要發出訊號的指令碼的唯一識別碼。

Parameters

一個值 (0-9),指示要傳送給訊號指令碼的參數數量。參數命名為 SP1 到 SPn(其中 n 是參數計數)。

結果分支條件

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

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

錯誤

動作未能正確執行時採用的路徑。例如,當出現連接不良、語法錯誤等意外問題時。_ERR變數(帶有一個下畫線字元)應填入針對問題的簡要說明。