CREATE SOURCE MAP

Diese Hilfeseite gilt für Studio. Diese Information ist auch für Desktop Studio verfügbar.

Abhängigkeiten

Quellkarte erstellen ist Nur zur Verwendung mit Proactive XS vorgesehen.

Unterstützte SKRIPTtypen

Icon of purple telephone handset

Telefon

Eingabeeigenschaften

Diese Eigenschaften definieren Daten, Die von der Aktion bei der Ausführung verwendet werden.

Eigenschaft

Beschreibung

Beschriftung hinzufügen

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon.

Quellname 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.
Zuordnung The dynamic data structure that enables the NiCE CXone system to interpret the data from your system (CRM).

Bedingungen für Ergebnisverzweigungen

Mit Bedingungen für Ergebnisverzweigungen können Sie in Ihrem Skript Verzweigungen erstellen, Die für unterschiedliche Ergebnisse bei der Ausführung einer Aktion vorgesehen sind.

Bedingung

Beschreibung

Default 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.
Fehler 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.

Zuordnung von Feldern

Im Zusammenhang mit der Aktion Create Source Map müssen Sie eine Snippet-Aktion einschließen, Die Feldzuordnungen zwischen NiCE CXone und Ihrem CRMClosed Systeme von Drittanbietern, Die z. B. Kontakte, Vertriebsinformationen, Betreuungs-details und Fallgeschichten verwalten. definiert. Die Folgenden sind Systemfelder auf Die Sie abbilden können.

  • Adresse
  • Agent
  • CallerID
  • CallRequestStaleMinutes
  • Stadt
  • Compliance
  • BestätigungErforderlich
  • CustomerField1
  • CustomerField2
  • ExternalID
  • Vorname
  • Nachname
  • Anmerkungen
  • PhoneNumber
  • PreferredCallTime
  • Priorität
  • Score
  • Status
  • Zeitzone
  • Postleitzahl

Sie können auch einer Benutzerdefinierte Daten-Definition zuordnen, Die Sie in NiCE CXone erstellt haben.

Skriptbeispiel

Dies ist ein Beispiel, das zeigt, wie diese Aktion in Skripten verwendet werden kann. Es handelt sich nicht um ein vollständiges Skript. Möglicherweise müssen weitere Skriptteile erstellt werden.

Das unten gezeigte Skript kann verwendet werden, um eine Quellkarte abzurufen (mit Quellkarte Abrufen) oder um eine neue Quellkarte zu erstellen (mit Quellkarte erstellen ). Beachten Sie alle Zuordnungen, Die von der Create Source Map ausgehen, Die es ermöglichen, dass Die Aus dem CRM stammenden Datensätze angerufen werden.

Dieses Skript enthält zwei Snippet-Aktionen, Die bei der Übernahme dieses Beispiels in Ihr Skript einige Änderungen erfordern.

Das GET SOURCE-Snippet (Make Changes Here) enthält Die folgende Codezeile:

ASSIGN sourceName = "Nick Desk"		

Das CREATE SOURCE-Snippet (Make Changes Here) enthält den folgenden 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]"
			}
		}	

Example phone script using the Create Source Map action

Dieses Skript Herunterladen.