SPAWN

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

Icon of Spawn: purple recycling-style arrows around a circle

別のスクリプトに対して1回限りのウェイクアップコールを発行します。 スポーンされたスクリプトは、呼び出し元のスクリプトと並行して実行されます。 これらを使用して、同時に発生する必要があるアクションを実行できます。 呼び出し元のスクリプトがSpawnをトリガーすると、StartDateパラメーターを使用してスポーンをスケジュールしない限り、呼び出し元のスクリプトが処理を継続している間に、スポーンされたスクリプトが即座に開始されます。

依存関係

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

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

Icon of gray-green envelope

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

Icon of purple telephone handset

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

Icon of pink document with lines of text

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

一般的

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

入力プロパティ

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

プロパティ

説明

キャプションを追加

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

スクリプト名 The script you want to spawn. Choose a script from the drop-down list or enter its name and relative path. The script must be located in the same folder as the calling script or in one of its subfolders.
Spawn ID Variable スポーンされたスクリプトの一意の識別子を受け取る変数の名前。 デフォルトの変数はSPAWNIDです。 通常、識別子は親スクリプトのマスターIDです。 ただし、親スクリプトがサブスクリプトまたはスポーンされたスクリプトの場合、IDはコンタクトIDClosed 各コンタクト先に割り当てられた一意の数値識別子です。です。 マスターIDとコンタクトIDは、コンタクト用に自動的に作成される、事前定義された変数です。
スキル コンタクトをルーティングする先のACDスキルClosed エージェントのスキル、能力、知識に基づいてインタラクションの配信を自動化するために使用されます。の名前を選択または入力します。デフォルトを選択すると、スクリプトは関連付けられたポイントオブコンタクトClosed 電話番号やEメールアドレスなど、インバウンドコンタクトが対話を開始するために使用するエントリーポイント。に割り当てられたデフォルトスキルを使用します。 このプロパティでは変数置換を一般的に使用できます。
StartDate

生成されたスクリプトの開始日。 形式(例:MM/dd/yyyy hh:mm:ss tt)を使用して、日付/時刻の文字列を入力します。Spawnアクションに1回限りのスクリプトスケジュールを作成させるには、少なくとも10分将来の開始日を指定するだけです。 開始日が指定されていない場合、ターゲットスクリプトは直ちに生成されます。 アクションとスポーンされるスクリプトはどちらもビジネスユニットのタイムゾーンを使用します。

パラメーター

Allows you to change the name of the default variables that hold values for parameters you want to send to the spawned or child script. The default variables are p1 - p9, but if you specify names in this property, those names replace the default variable names that the parameter values are passed in. If you don't change the names, the variables retain their default pX names.

名前を変更するには、スポーンされたスクリプトまたは子スクリプトに送信する各パラメーターに対して新しい名前を追加します。1行につき1つ、最大9つの変数名を入力します。 変数名は、スポーンされたスクリプトで使用される対応する変数の名前と同じ名称を持たなくてもよいですが、意味のある名前にする必要があります。これらの値は、パラメーター変数p1 - p9として渡されます。

スクリプトに渡されたパラメーターは、そのスクリプトのトレース出力のBeginアクションに表示されます。

結果の分岐条件

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

条件

説明

デフォルト

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.
OnLinked Path taken if the spawned script issues a voice Link action with the calling voice script. The Spawn action will not suspend the script waiting for the OnLinked branch condition to trigger. Instead, the Default branch condition will be triggered and the OnLinked branch condition will be remembered. This is an Interrupt event.

その後、子スクリプトがLinkを実行すると、親スクリプトは処理を停止し、On Linkedブランチにアタッチされたアクションにジャンプします。

OnTerminated Path taken when the spawned script finishes. The Spawn action will not suspend the script waiting for the OnTerminated branch condition to trigger. Instead, the Default branch condition will be triggered and the OnTerminated branch condition will be remembered. This is an Interrupt event.

その後、子スクリプトが終了すると、親スクリプトは処理を停止し、OnTerminated分岐条件に関連付けられているアクションにジャンプします。

エラー Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.