If

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

表現を評価し、評価の結果(trueまたはfalse)に応じてブランチを取ります。 スクリプトのSnippetactionIFステートメントを作成することもできます。

 

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

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 Captionを、スクリプト内でこのアクションを一意に識別するものに変更します。 IVRプレスパスレポートには、アクション名とキャプションが含まれます。 キャプションを説明的でユニークなものにすると、レポートが読みやすく、理解しやすくなります。Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT
Expression がTRUEかFALSEかを判別するための値の評価。 例えば、TOTAL=>0(合計が0以上)。

結果分岐条件

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

条件

説明

True

式が真の場合に取られるパス。

False

式が偽の場合に取られるパス。

スクリプトの例

これは、このアクションをスクリプトでどのように使用できるかを示す例です。 完全なスクリプトではありません。 追加のスクリプト作成が必要な場合があります。

このスクリプトがトリガーされると、利用可能なエージェントの数がカウントされます。 Ifアクションは式TOTAL>0を使用してどの分岐に進むかを決定します。 利用可能なエージェントの合計が0より大きい場合、メニューが発信元にオプションを提供します。 エージェントの合計が0以下の場合、メッセージが再生され、スクリプトが通話を切断します。

このスクリプトをダウンロードしますか?