AGENTSTATE

このヘルプページはStudio向けです。 この情報はDesktop Studioでも利用可能です。

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

その四角から分岐した線が、他の3つにつながっている四角。

Icon of gray-green envelope

濃い緑色の吹き出しのアイコン

Icon of purple telephone handset

線でつながれた2つの円からなる、さび色のボイスメール記号のアイコン

Icon of pink document with lines of text

画面にスピーチバブルが表示されている緑色の携帯電話のアイコン

一般的

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

入力プロパティ

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

プロパティ

説明

キャプションを追加

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

エージェントID エージェントID。IDまたはタイプを入力して、特定のエージェントを検索します。 このフィールドには変数を使用できます。例:{agentId}。
状態変数 Variable that holds the agent state, such as Available, Unavailable, and so on. デフォルトはSTATEです。
理由変数 The variable that holds the specific description of the agent state.

結果の分岐条件

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

条件

説明

デフォルト 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.
NotLoggedIn Path taken if the agent is not logged in.
利用可能 Path taken if the agent is logged in and available.
利用不可 Path taken if the agent is logged in but not available.
InboundContact Path taken if the agent is logged in and engaged with an inbound contact.
OutboundContact Path taken if the agent is logged in and engaged with an outbound contact.
InboundConsult Path taken if the agent is in a state where they will be accepting inbound consults.
OutboundConsult Path taken if the agent is in a state where they will be accepting outbound consults.
ダイヤラー Path taken if the agent is logged in to an outbound dialing skill.
LoggedIn Path taken if the agent has logged in to the system but has not yet set the agent state.

スクリプトの例

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

このサンプル電話スクリプトでは、IFアクションは特定のエージェントID値が存在するかどうかを確認します。 そうである場合(TRUE)、次にAgentstateはそのエージェントの可用性をチェックします。 そのエージェントが対応可能な場合、 Reqagentはその特定のエージェントを要求します。 いいえの場合、呼び出しはスクリプトに送られます(Runsub経由)メッセージの記録に使用されます。

Example script using the Agent State action

このスクリプトをダウンロードしてください。