

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

# 在 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\_id
+ active
+ activity\_due
+ additional\_assignee\_list
+ approval
+ approval\_history
+ approval\_set
+ assigned\_to
+ assignment\_group
+ business\_duration
+ business\_service
+ calendar\_duration
+ closed\_at
+ closed\_by
+ cmdb\_ci.display\_value
+ cmdb\_ci.link
+ comments
+ comments\_and\_work\_notes
+ company
+ contact\_type
+ contract
+ correlation\_display
+ active
+ correlation\_id
+ delivery\_plan
+ delivery\_task
+ description
+ due\_date
+ escalation
+ expected\_start
+ follow\_up
+ group\_list
+ impact
+ knowledge
+ location
+ made\_sla
+ number
+ opened\_at
+ opened\_by.display\_value
+ order
+ parent
+ priority
+ reassignment\_count
+ service\_offering
+ short\_description
+ sla\_due
+ state
+ sys\_class\_name
+ sys\_created\_by
+ sys\_created\_on
+ active
+ sys\_domain.global
+ sys\_domain.link
+ sys\_domain\_path
+ sys\_mod\_count
+ sys\_updated\_by
+ sys\_updated\_on
+ time\_worked
+ upon\_approval
+ upon\_reject
+ urgency
+ user\_input
+ watch\_list
+ work\_end
+ work\_notes
+ work\_notes\_list
+ work\_start

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

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

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


| Servicenow-task 來源欄位 | 標準案例目標欄位 | 
| --- | --- | 
| sys\_id | Attributes.ServiceNowTaskId | 
| opened\_by.link | Attributes.ServiceNowSystemUserId | 
| short\_description | Title | 
| description | Summary | 
| status | Status | 
| sys\_created\_by | CreatedBy | 
| sys\_created\_on | CreatedDate | 
| sys\_updated\_on | UpdatedDate | 

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


| 標準索引名稱 | Servicenow-task 來源欄位 | 
| --- | --- | 
| \_serviceNowTaskId | sys\_id | 
| \_serviceNowSystemId | open\_by.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\_id
+ business\_stc
+ calendar\_stc
+ caller\_id.link
+ caller\_id.value
+ category
+ caused\_by
+ child\_incidents
+ close\_code
+ hold\_reason
+ incident\_state
+ notify
+ parent\_incident
+ problem\_id
+ reopened\_by
+ reopened\_time
+ reopen\_count
+ resolved\_at
+ resolved\_by.link
+ resolved\_by.value
+ rfc
+ severity
+ subcategory

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

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

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


| Servicenow-Incident 來源欄位 | 標準案例目標欄位 | 
| --- | --- | 
| sys\_id | Attributes\_ServiceNowIncidentId | 
| caller\_id.link | Attributes\_ServiceNowSystemUserId | 
| incident\_status | 狀態 | 
| caller\_id.link | CreatedBy | 
| resolved\_at | ClosedDate | 
| category | Reason | 

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


| 標準索引名稱 | Servicenow 來源欄位 | 
| --- | --- | 
| \_serviceNowIncidentId | sys\_id | 
| \_serviceNowSystemId | caller\_id.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 物件。