Create Source Map

CXoneシステムとCRM閉じた 連絡先、販売情報、サポートの詳細、ケース履歴などを管理するサードパーティのシステム。間のデータ構造を解釈するために使用される凡例またはマップを作成します

Dependencies

Create Source MapはProactive XSでのみ使用できます。

Supported Script Types

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

電話

Input Properties

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

プロパティ

説明

Caption

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

SourceName 記録が発生したソースの名前。システム内の記録の論理グループを提供します。ソースマップが無効であるか見つからない場合、外部IDの欠落エラーが発生することがあります。
Mapping CXoneシステムがシステム(CRM)からのデータを解釈できるようにする動的データ構造。

Result Branch Conditions

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

状態

説明

Default スクリプトが他のブランチのいずれかを取る必要がある条件を満たさない限り、パスが取られます。他のブランチが定義されていない場合にも使用されます。
InvalidSource 指定されたソース名が存在しない場合に取られるパス。
InvalidRootNode CXoneがシステムフィールドまたはそのフィールド名のカスタム定義の存在を判別できない場合に使用されるパス。
InvalidFieldName CXoneがシステムフィールドまたはそのフィールド名のカスタム定義の存在を判別できない場合に使用されるパス。
MissingRequiredField 連絡先の処理に必要な必須フィールドが見つからない場合に取られるパス。必須フィールドには、電話番号フィールドとExternalIDが含まれます。
Error アクションが正しく実行されなかったときにとられるパス。これは例えば、接続不良、構文エラーなど予期しない問題が発生した場合などです。_ERR変数に1つのアンダースコア文字がある場合、問題の簡潔な説明を入力する必要があります。
FieldsInUseCantApply 現在フィルターで使用されている値を変更または削除しようとした場合に使用されるパス。
NoChangesMade CXoneとシステム間のマッピングが完全に一致する場合にたどるパス。
ExceededMaxDestinations 連絡先ごとの電話番号の数が指定された数を超える場合のパス。たとえば、システムが連絡先ごとに6つの番号を許可し、7つを提供する場合、システムはこのブランチに従います。

Mapping Fields

Create Source Mapアクションと併せて、CXoneCRM閉じた 連絡先、販売情報、サポートの詳細、ケース履歴などを管理するサードパーティのシステム。の間のフィールドを定義するSnippetactionを含める必要があります。以下は、マップできるシステムフィールドです。

  • アドレス
  • エージェント
  • CallerID
  • CallRequestStaleMinutes
  • 市区町村
  • 準拠
  • ConfirmationRequired
  • CustomerField1
  • CustomerField2
  • 外部ID
  • メモ
  • PhoneNumber
  • PreferredCallTime
  • 優先度
  • 採点する
  • 状態
  • タイムゾーン
  • 郵便番号

で作成したカスタムデータ定義CXoneにマップすることもできます。

Script Example

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

The script shown below can be used to retrieve a source map (using Get Source Map) or to create a new source map (using Create Source Map). Take notice of all the mappings coming off the Create Source Map, which enable the records coming from the CRM to be dialed.

This script contains two Snippet actions, which require some modification when incorporating this example into your script.

The Make Changes Here GET SOURCE snippet contains the following line of code

ASSIGN sourceName = "Nick Desk"		

The Make Changes Here CREATE SOURCE snippet contains the following code:

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]"
			}
		}	

Download this script.