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 변수(밑줄 문자 하나 포함)는 문제의 요약 설명으로 채워져야 합니다.
FieldsInUseCantApply 필터에서 현재 사용하고 있는 값을 변경하거나 제거하려는 시도가 있을 경우 사용되는 경로입니다.
NoChangesMade CXone 및 시스템 간에 매핑이 정확하게 일치하는 경우 사용되는 경로입니다.
ExceededMaxDestinations 컨택당 전화번호가 지정된 카운트를 초과하는 경우 사용한 경로. 예를 들어, 시스템에서 컨택당 6개의 번호를 허용하고 사용자가 7개를 제공하는 경우 시스템은 이 분기를 따릅니다.

Mapping Fields

Create Source Map 작업과 함께 CXoneCRM닫힘 컨택, 영업 정보, 지원 세부 사항 및 케이스 내역 등을 관리하는 타사 시스템입니다. 간의 필드 매핑을 정의하는 Snippet action이 포함되어야 합니다. 다음은 매핑할 수 있는 시스템 필드입니다.

  • 주소
  • 상담원
  • 발신자 ID
  • 통화 요청 효력상실 시간
  • Compliance
  • 확인 필요
  • CustomerField1
  • CustomerField2
  • ExternalID
  • 이름
  • 참고
  • 전화번호
  • 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.