

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 Amazon Connect Customer Profiles 中，將 ServiceNow 物件映射至標準案例
<a name="mapping-servicenow-objects-standard-case"></a>

本主題列出 ServiceNow 物件中的哪些欄位對應到 Amazon Connect Customer Profiles 中標準案例中的欄位。

## Servicenow-task 物件
<a name="servicenow-task-object"></a>

以下是 Servicenow-task 物件中所有欄位的清單。
+ sys\$1id
+ active
+ activity\$1due
+ additional\$1assignee\$1list
+ approval
+ approval\$1history
+ approval\$1set
+ assigned\$1to
+ assignment\$1group
+ business\$1duration
+ business\$1service
+ calendar\$1duration
+ closed\$1at
+ closed\$1by
+ cmdb\$1ci.display\$1value
+ cmdb\$1ci.link
+ comments
+ comments\$1and\$1work\$1notes
+ company
+ contact\$1type
+ contract
+ correlation\$1display
+ active
+ correlation\$1id
+ delivery\$1plan
+ delivery\$1task
+ description
+ due\$1date
+ escalation
+ expected\$1start
+ follow\$1up
+ group\$1list
+ impact
+ knowledge
+ location
+ made\$1sla
+ number
+ opened\$1at
+ opened\$1by.display\$1value
+ order
+ parent
+ priority
+ reassignment\$1count
+ service\$1offering
+ short\$1description
+ sla\$1due
+ state
+ sys\$1class\$1name
+ sys\$1created\$1by
+ sys\$1created\$1on
+ active
+ sys\$1domain.global
+ sys\$1domain.link
+ sys\$1domain\$1path
+ sys\$1mod\$1count
+ sys\$1updated\$1by
+ sys\$1updated\$1on
+ time\$1worked
+ upon\$1approval
+ upon\$1reject
+ urgency
+ user\$1input
+ watch\$1list
+ work\$1end
+ work\$1notes
+ work\$1notes\$1list
+ work\$1start

## 將 Servicenow-task 對應到標準案例
<a name="mapping-servicenow-task-case"></a>

Servicenow-task 物件中欄位的子集會對應到客戶設定檔中的標準案例。

下表列出哪些欄位可以從 Servicenow-task 物件對應到標準案例。


| Servicenow-task 來源欄位 | 標準案例目標欄位 | 
| --- | --- | 
|  sys\$1id  | Attributes.ServiceNowTaskId  | 
|  opened\$1by.link  | Attributes.ServiceNowSystemUserId  | 
|  short\$1description  | Title  | 
|  description  | Summary  | 
|  status  | Status  | 
|  sys\$1created\$1by  | CreatedBy  | 
|  sys\$1created\$1on  | CreatedDate  | 
|  sys\$1updated\$1on  | UpdatedDate  | 

來自 Servicenow 的 Servicenow-task 客戶資料使用下表中的索引與 Amazon Connect 標準案例關聯。


| 標準索引名稱 | Servicenow-task 來源欄位 | 
| --- | --- | 
|  \$1serviceNowTaskId  | sys\$1id  | 
|  \$1serviceNowSystemId  | open\$1by.link  | 

例如，您可以使用 `_serviceNowTaskId` 和 `_serviceNowSystemId` 作為 `ObjectFilter.KeyName`，並搭配 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API 來尋找標準案例。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Servicenow-task`，以尋找與特定設定檔關聯的 Servicenow-task 物件。

## Servicenow-incident 物件
<a name="servicenowincident-object"></a>

以下是 Servicenow-incident 物件中所有欄位的清單。
+ sys\$1id
+ business\$1stc
+ calendar\$1stc
+ caller\$1id.link
+ caller\$1id.value
+ category
+ caused\$1by
+ child\$1incidents
+ close\$1code
+ hold\$1reason
+ incident\$1state
+ notify
+ parent\$1incident
+ problem\$1id
+ reopened\$1by
+ reopened\$1time
+ reopen\$1count
+ resolved\$1at
+ resolved\$1by.link
+ resolved\$1by.value
+ rfc
+ severity
+ subcategory

## 將 Servicenow-incident 對應到標準案例
<a name="mapping-servicenowincident-case"></a>

Servicenow-incident 物件中欄位的子集會對應到客戶設定檔中的標準案例。

下表列出哪些欄位可以從 Servicenow-incident 物件對應到標準案例。


| Servicenow-Incident 來源欄位 | 標準案例目標欄位 | 
| --- | --- | 
| sys\$1id  |  Attributes\$1ServiceNowIncidentId  | 
| caller\$1id.link  |  Attributes\$1ServiceNowSystemUserId  | 
| incident\$1status  |  狀態  | 
| caller\$1id.link  |  CreatedBy  | 
| resolved\$1at  |  ClosedDate  | 
| category  |  Reason  | 

使用下表中的索引，來自 Servicenow 物件的 Servicenow-incident 客戶資料與 Amazon Connect 標準案例關聯。


| 標準索引名稱 | Servicenow 來源欄位 | 
| --- | --- | 
| \$1serviceNowIncidentId  |  sys\$1id  | 
| \$1serviceNowSystemId  |  caller\$1id.link  | 

例如，您可以使用 `_serviceNowIncidentId` 和 `_serviceNowSystemId` 作為 ObjectFilter.KeyName 搭配 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API 來尋找標準案例。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Servicenow-incident`，以尋找與特定設定檔關聯的 Servicenow-incident 物件。