Create Source Map
このヘルプページはDesktop Studio向けです。 この情報はStudioにも利用可能です。
|
|
NiCE CXoneシステムとお使いのCRM |
依存関係
ソースマップを作成はProactive XSでのみ使用できます。
サポートされているスクリプトタイプ
|
|
| 電話 |
入力プロパティ
これらのプロパティは、アクションが実行時に使用するデータを定義します。
|
プロパティ |
説明 |
|---|---|
| キャプション |
スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 |
| SourceName | 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. |
| マッピング | The dynamic data structure that enables the NiCE CXone system to interpret the data from your system (CRM). |
結果の分岐条件
結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。
|
条件 |
説明 |
|---|---|
| デフォルト | 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. |
| InvalidSource | Path taken if the source name provided does not exist. |
| InvalidRootNode | Path taken if NiCE CXone cannot determine the presence of a system field or a custom definition for that field name. |
| InvalidFieldName | Path taken if NiCE CXone cannot determine the presence of a system field or a custom definition for that field name. |
| MissingRequiredField | Path taken if a required field necessary to process the contact is not found. Required fields include a phone number field and ExternalID. |
| エラー | 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. |
| FieldsInUseCantApply | Path taken if there is an attempt made to change or remove a value currently in use by a filter. |
| NoChangesMade | Path taken if the mapping between NiCE CXone and your system match exactly. |
| ExceededMaxDestinations | Path taken if the number of phone numbers per contact exceeds the designated amount. For example, if the system allows for six numbers per contact and you provide seven, the system would follow this branch. |
フィールドのマッピング
Create Source Map アクションと合わせて、NiCE CXoneとお使いのCRM
連絡先、販売情報、サポートの詳細、ケース履歴などを管理する第3者システム。間のフィールドマッピングを定義する
- アドレス
- エージェント
- CallerID
- CallRequestStaleMinutes
- 市区町村
- コンプライアンス
- ConfirmationRequired
- CustomerField1
- CustomerField2
- 外部ID
- 名
- 姓
- メモ
- PhoneNumber
- PreferredCallTime
- 優先度
- スコア
- 状態
- タイムゾーン
- 郵便番号
NiCE CXoneで作成したカスタムデータ定義にマッピングすることもできます。
これは、このアクションをスクリプトでどのように使用できるかを示す例です。 完全なスクリプトではありません。 追加のスクリプト作成が必要な場合があります。
以下に示すスクリプトを使用して、ソースマップを取得(ソースマップを取得を使用する)か、新しいソースマップを作成する( ソースマップを作成を使用する)ことができます。 Create Source Mapから出るすべてのマッピングに注意してください。これにより、CRMから送られてくるレコードをダイヤルできるようになります。
このスクリプトには2つの
Make Changes Here GET SOURCEスニペットには以下のコード行が含まれています。
ASSIGN sourceName = "Nick Desk"
Make Changes Here CREATE SOURCEスニペットには以下のコードが含まれています。
DYNAMIC testData
// CHANGE BELOW VALUE DEPENDING ON TEST
ASSIGN switchValue = "No Changes Made"
SWITCH switchValue
{
CASE "Invalid Source"
{
sourceName = "I Don't Exist"
}
CASE "Invalid Root Node"
{
testData.Fail.Phone = ""
}
CASE "Invalid Field Name"
{
testData = initialResult
testData.Mappings.MyCustomField = ""
}
CASE "Missing Required Fields"
{
testData.Mappings.City = "City"
testData.Mappings.State = "State"
}
CASE "Field In Use Cant Apply"
{
// Switch ValueString with a CDD or SDD that you currently have applied to a source and using to filter
testData = initialResult
testData.Mappings.FilterOnMe = "City"
}
CASE "No Changes Made"
{
// Don't Change anything just pass in the exact same mapping we've already got
testData = initialResult
}
CASE "Create Mapping System"
{
// SYSTEM DATA DEFINITIONS
testData = initialResult
testData.Mappings.TimeZone = "Time Zone"
testData.Mappings.Compliance = "Is Cell Phone"
testData.Mappings.ConfirmationRequired = "Confirmation Required"
testData.Mappings.CallerID = "Caller ID"
testData.Mappings.Score = "Score"
testData.Mappings.CustomerField1 = "Customer Field 1"
testData.Mappings.CustomerField2 = "Customer Field 2"
testData.Mappings.ExternalID = "External ID"
testData.Mappings.Priority = "Priority"
testData.Mappings.Zip = "Zip"
testData.Mappings.State = "State"
testData.Mappings.City = "City"
testData.Mappings.Address = "Address"
testData.Mappings.LastName = "Last Name"
testData.Mappings.FirstName = "First Name"
testData.Mappings.PhoneNumber = "Phone Number"
}
CASE "Update Mapping System"
{
// SYSTEM DATA DEFINITIONS
testData = initialResult
testData.Mappings.TimeZone = "My TimeZone"
testData.Mappings.ConfirmationRequired = "Requires Confirmation"
testData.Mappings.CallerID = "Phone Number"
testData.Mappings.State = "Contacts State"
}
CASE "Create Mapping Custom"
{
// CUSTOM DATA DEFINITIONS
testData = initialResult
testData.Mappings.YourCDDName = "[COLUMN TO MAP IT TO]"
}
CASE "Update Mapping Custom"
{
// CUSTOM DATA DEFINITIONS
testData = initialResult
testData.Mappings.YourCDDName = "[COLUMN TO MAP IT TO]"
}
}
このスクリプトをダウンロードしてください。