GETPROSPECT
このヘルプページはStudio向けです。 この情報はDesktop Studioでも利用可能です。
|
|
Proactive XSの一部として、見込みのある連絡先をプラットフォームから取得します。 GetProspectを使用すると、見込み客をリードソースからチェックインまたはチェックアウトし、NiCE CXoneプラットフォームに取り込むという概念があります。 GetProspectは、複数の番号を持つコンタクトをサポートするように構成されています。 |
サポートされているスクリプトタイプ
|
|
|
|
|
|
|
|
|
一般的 |
Eメール | チャット | 電話 | ボイスメール | ワークアイテム | SMS |
入力プロパティ
これらのプロパティは、アクションが実行時に使用するデータを定義します。
|
プロパティ |
説明 |
|---|---|
|
キャプションを追加 |
スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 |
| ソース名 | The name of the source where the records originated. Provides a logical grouping of records within the system. If you have an invalid or missing source map, you may receive a Missing External ID error. |
| 検索オプション | A dynamic data object that contains the search criteria. Four fields can be searched: ExternalID, PhoneNumber, FirstName and LastName. If FirstName or LastName is specified, both must be specified. |
出力プロパティ
これらのプロパティには、アクションの実行によって返されたデータを保持する変数が含まれます。 これらはアクションが完了したときに参照・使用することができます。
|
プロパティ |
説明 |
|---|---|
| 結果 | A dynamic data object containing the results of the action executing. |
結果の分岐条件
結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。
|
条件 |
説明 |
|---|---|
|
デフォルト |
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. |
|
Error |
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. |
例スクリプト
これは、このアクションをスクリプトでどのように使用できるかを示す例です。 完全なスクリプトではありません。 追加のスクリプト作成が必要な場合があります。
このサンプルスクリプトでは、Snippetを使用して、ダイナミックオブジェクトを空白のままにし、設定したsourcenameのすべてのレコードを取得できます。 検索条件をコメント化して、設定したソース名から特定の記録を取得することもできます。 その後、トレースをチェックして、データが正しいかどうかを確認できます。 例のスクリプトでは、SNIPPETアクションで使用されているスニペットコードを確認できます。
このスクリプトをダウンロードしてください。