If

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

 

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.

ジェネリック

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

Input Properties

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

プロパティ

説明

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

Result Branch Conditions

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

状態

説明

True

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

False

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

Script Example

この例は完全なスクリプトではありません。このアクションを使用するには、追加のスクリプト作業が必要です。

When this script is triggered, the number of available agents are counted. The If action uses the expression TOTAL>0 to determine which branch to take. If the total number of available agents is greater than 0, a menu will provide options to the caller. If the total number of agents is not greater than 0, then a message will play and the script will hang up the call.

Would you like to download this script?