Onsignal

This help page is for Desktop Studio. This information is also available for Studio.

他のスクリプトからの通信を受信します。

依存関係

  • Onsignalevent actionです。
  • Onsignalイベントは、他のスクリプトからの通信を受信するために使用されます。
  • Onsignalイベントは、メッセージが到着したときに現在処理中のすべてのスクリプトを中断します。これには、メッセージをOnsignalイベントに送信してスクリプトのフローを中断するSignalactionによって開始されたメッセージも含まれます。
  • Signalアクションから渡されるパラメーターは、SP1、SP2、...SPnとして受信されます。 Signalactionが終了した後もコードが引き続き実行できるように、スクリプトを注意深く設計する必要がある場合があります。
  • スクリプトには、Onsignalイベントを1つだけ含めることができます。
  • Onsignalイベントは以下によってトリガーされます。
    • 外部のSignalアクション。
    • URLからのSignalアクション。
    • ウェブサービス。

サポートされているスクリプトタイプ

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.

一般

Eメール チャット 電話 ボイスメール ワークアイテム SMS デジタル

入力プロパティ

これらのプロパティは、アクションが実行時に使用するデータを定義します。

プロパティ

説明

Caption

スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 The default is the action name.

SrcContactIDVar

Signalactionを発行したスクリプトのソースIDを受け取る変数の名前。

通常、Onsignalイベントが別のスクリプトからSignalメッセージを受信すると、Src Contact ID Varプロパティの値はSignalメッセージを送信したスクリプトのコンタクトIDになります。

URLまたはウェブサービスSignalメッセージを受信すると、ウェブサービスに関連付けられたコンタクトID閉じた 各コンタクトに割り当てられる一意の数値識別子がないため、Src Contact ID Varプロパティの値は0(ゼロ)になります。

Parameters

受信スクリプトに渡すパラメーター値。

結果分岐条件

結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。

条件

説明

Default

スクリプトが他のブランチのいずれかを取る必要がある条件を満たさない限り、パスが取られます。 他のブランチが未定義の場合にも使用されます。