移轉即時聊天管道的資料
注意
功能可用性資訊如下。
Dynamics 365 Contact Center — 內嵌 | Dynamics 365 Contact Center — 獨立 | Dynamics 365 Customer Service |
---|---|---|
是 | 是 | 是 |
使用設定移轉工具,將來源組織的設定移轉至即時聊天的目標組織。
注意
但是,我們建議您使用解決方案框架遷移配置。 詳細資訊: 使用解決方案遷移通道的配置
如需如何使用設定移轉工具的詳細資訊,請參閱下列文章:
先決條件
必須符合下列先決條件:
- 在來源組織中,如果整合路由規則集參考下列各項,請先確定這些項目已存在於目標組織中,再繼續進行移轉:
- 自訂實體
- 屬性
- 關係
- 選項組
- 查詢值
- 請確定執行移轉的使用者在來源與目標組織的下列整合路由實體上具有所需的權限:
- 工作流 (
msdyn_liveworkstream
) - 管道設定 (
msdyn_omnichannelconfiguration
) - 營運時間 (
msdyn_operatinghour
) - 特性 (
characteristic
) - 評等模型 (
rating model
) - 評等值 (
ratingvalue
) - 產能設定檔 (
msdyn_capacityprofile
) - 佇列 (
queue
) - 決策合約 (
msdyn_decisioncontract
) - 決策規則集 (
msdyn_decisionruleset
) - 指派設定 (
msdyn_assignmentconfiguration
) - 指派設定步驟 (
msdyn_assignmentconfigurationstep
) - 路由設定 (
msdyn_routingconfiguration
) - 路由設定步驟 (
msdyn_routingconfigurationstep
) - 工作流產能設定檔 (
msdyn_liveworkstreamcapacityprofile
) - 內容變數 (
msdyn_ocliveworkstreamcontextvariable
) - 問卷問題 (
msdyn_surveyquestions
) - 問卷問題順序 (
msdyn_questionsequence
) - 問卷答案選項 (
msdyn_chatansweroption
) - 快速回覆 (
msdyn_cannedmessages
) - 索引標籤 (
msdyn_octags
)
- 工作流 (
重要
客戶、管道、Bot 設定以及 AI 和分析設定的移轉不在範圍之內。
移轉即時聊天設定
您必須依照列出步驟的順序執行步驟,才能順利地移轉設定資料。 使用表中的資訊,並參考每個設定對應的範例結構描述。
- 使用解決方案移轉設定
- 移轉技能型路由的設定
- 移轉產能設定檔的設定
- 移轉即時聊天佇列的設定
- 移轉即時聊天工作流的設定
- 移轉即時聊天 widget 的設定
- 驗證您的移轉
- 資料移轉疑難排解
使用解決方案移轉設定
如果您在即時聊天路由設定中使用自訂工作階段範本和通知,請執行使用解決方案移轉設定中所述的步驟。
移轉技能型設定
如果在整合路由設定中使用技能型路由規則集,請執行匯出和匯入技能型路由的資料中所述的步驟。 請務必適當地調整即時聊天的任何篩選 Fetch XML。
移轉產能設定檔的設定
如果已在整合路由設定中設定產能設定檔,請執行匯出和匯入產能設定檔的資料中所述的步驟。 請務必適當地調整即時聊天的任何篩選 Fetch XML。
移轉即時聊天佇列的設定
若要移轉即時聊天的佇列,請執行移轉整合路由型記錄佇列的資料中所述的步驟。 請務必適當地調整即時聊天的任何篩選 Fetch XML。
移轉即時聊天工作流的設定
使用設定移轉工具建立結構描述,並從記錄工作流的來源組織移轉資料。
- 實體顯示名稱:建立結構描述時,選取表中所述同樣序列的實體。
- 屬性顯示名稱:建議您選取下表中定義的屬性。 您不需要選取現成可用的系統定義屬性,例如 [建立者]、[建立時間]、[修改者]、[修改時間] 和 [負責人]。 您可以視需要選取自訂屬性。
- 使用 FetchXML 來篩選記錄:對每個實體使用下表中提及的適當 FetchXML 查詢,以便根據您的需求取得單一、多個或所有記錄。 對於單一或多個記錄,您必須使用來源組織,才能取得 uiname 中的正確名稱和值中的 GUID。 如有需要,您可以使用 [進階尋找] 功能表項目來建構適當的 FetchXML 查詢。
- 設定匯入設定:對於決策合約實體,確定您已選取不更新現有記錄核取方塊。
確定即時聊天 widget 設定中所參考的工作流已包含在移轉中。
序號 實體顯示名稱 (邏輯名稱) 屬性顯示名稱 (邏輯名稱) 使用 FetchXML 來篩選記錄 1. 工作流 (msdyn_liveworkstream) - API 金鑰 (msdyn_apikey)
- API 金鑰版本號碼 (msdyn_apikeyversionnumber)
- 允許自動化訊息 (msdyn_enableautomatedmessages)
- 允許的目前狀態 (msdyn_allowedpresences)
- 在拒絕或逾時後指派工作項目 (msdyn_assignworkitemafterdecline)
- 處於非使用狀態之後自動關閉 (msdyn_autocloseafterinactivity)
- 因總結狀態而封鎖產能 (msdyn_blockcapacityforwrapup)
- 機器人佇列 (msdyn_bot_queue)
- 機器人規則 (msdyn_bot_rule)
- 機器人使用者 (msdyn_bot_user)
- CallbackPreviewDialing (msdyn_notificationtemplate_callback_previewdialing)
- 連接器 (msdyn_connectorsurl)
- 諮詢 (msdyn_notificationtemplate_consult)
- 聊天管道的交談模式 (msdyn_conversationmode)
- 客戶識別碼 (msdyn_customerid)
- 開啟交談的客戶中斷連接保留期間 (msdyn_customerdisconnectholddurationforopenconversation)
- 產能 (msdyn_capacityrequired)
- 產能格式 (msdyn_capacityformat)
- 管道 (msdyn_streamsource)
- 合約識別碼 (msdyn_routingcontractid)
- 預設 (msdyn_sessiontemplate_default)
- 預設佇列 (msdyn_defaultqueue)
- 方向 (msdyn_direction)
- 啟用從推送型工作資料流中選取 (msdyn_enableselectingfrompushbasedworkstreams)
- 實體 (msdyn_masterentityroutingconfigurationid)
- 遞補語言 (msdyn_fallbacklanguage)
- 等待後跟進 (msdyn_followupafterwaiting)
- 處理時間閾值 (msdyn_handlingtimethreshold)
- 傳入已驗證 (msdyn_notificationtemplate_incoming_auth)
- 傳入未驗證 (msdyn_notificationtemplate_incoming_unauth)
- 是預設 (msdyn_isdefault)
- 整個交談始終由同一位專員負責 (msdyn_enableagentaffinity)
- 上次驗證日期 (msdyn_lastvalidationon)
- 上次驗證狀態 (msdyn_lastvalidationstatus)
- 比對邏輯 (msdyn_matchinglogic)
- 最大並行數 (msdyn_maxconcurrentconnection)
- 模式 (msdyn_mode)
- 名稱 (msdyn_name)
- 通知 (msdyn_notification)
- 通知案例預留位置 (msdyn_notificationscenarioplaceholder)
- 傳出佇列 (msdyn_outboundqueueid)
- 記錄識別規則 (msdyn_recordidentificationrule)
- 記錄識別驗證規則 (msdyn_recordidentificationvalidationrule)
- 限制記錄下載 (msdyn_restrictdownloadrecording)
- 限制文字記錄下載 (msdyn_restrictdownloadtranscript)
- 畫面快顯逾時 (msdyn_screenpoptimeout)
- 畫面快顯逾時 (msdyn_screenpoptimeout_optionSet)
- 安全 API 金鑰 (msdyn_secureapikey)
- 技能附件規則計數 (msdyn_skillattachmentrulescount)
- 技能附件規則計數 (上次更新時間)
- (msdyn_skillattachmentrulescount_date)
- 技能附件規則計數 (狀態)
- (msdyn_skillattachmentrulescount_state)
- 工作階段案例預留位置 (msdyn_sessionscenarioplaceholder)
- SupervisorAssign (msdyn_notificationtemplate_supervisorassign)
- 轉移 (msdyn_notificationtemplate_transfer)
- 等待時間閾值 (msdyn_waitingtimethreshold)
- 工作發佈模式 (msdyn_workdistributionmode)
- 工作資料流 (msdyn_liveworkstreamid)
範例 1:所有即時聊天工作流
範例 2:單一即時聊天工作流
範例 3:多個即時聊天工作流2. 內容變數 (msdyn_ocliveworkstreamcontextvariable) - 名稱 (msdyn_name)
- 關聯性名稱 (msdyn_relationshipname)
- 類型 (msdyn_datatype)
- 工作資料流 (msdyn_liveworkstreamid)
- IsList (msdyn_islist)
- 可修改 (msdyn_ismodifiable)
- 顯示名稱 (msdyn_displayname)
- 可顯示 (msdyn_isdisplayable)
- 實體邏輯名稱 (msdyn_entitylogicalname)
- 內容變數 (msdyn_ocliveworkstreamcontextvariableid)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 系統定義 (msdyn_issystemdefined)
範例 1:所有工作流的內容變數
範例 2:單一即時聊天工作流的內容變數
範例 3:多個即時聊天工作流的內容變數3. 決策合約 (msdyn_decisioncontract) - 合約定義 (msdyn_contractdefinition)
- 決策合約 (msdyn_decisioncontractid)
- 名稱 (msdyn_name)
- 唯一名稱 (msdyn_uniquename)
範例 1:所有即時聊天工作流的決策合約
範例 2:單一即時聊天工作流的決策合約
範例 3:多個即時聊天工作流的決策合約4. 決策規則集 (msdyn_decisionruleset) - AI Builder 模型 (msdyn_aibmodelid)
- 作者模式 (msdyn_authoringmode)
- 決策規則集 (msdyn_decisionrulesetid)
- 描述 (msdyn_description)
- 輸入合約 (msdyn_inputcontractid)
- 是輸入集合 (msdyn_isinputcollection)
- ML 模型類型 (msdyn_mlmodeltype)
- 名稱 (msdyn_name)
- 輸出合約 (msdyn_outputcontractid)
- 規則集定義 (msdyn_rulesetdefinition)
- 規則集類型 (msdyn_rulesettype)
- 唯一名稱 (msdyn_uniquename)
範例 1:所有即時聊天工作流的決策規則集
範例 2:單一即時聊天工作流的決策規則集
範例 3:多個即時聊天工作流的決策規則集5. 路由設定 (msdyn_routingconfiguration) - 是使用中設定 (msdyn_isactiveconfiguration)
- 名稱 (msdyn_name)
- 路由設定 (msdyn_routingconfigurationid)
- 唯一名稱 (msdyn_uniquename)
- 工作流 (msdyn_liveworkstreamid)
範例 1:所有即時聊天工作流的路由設定
範例 2:單一即時聊天工作流的路由設定
範例 3:多個即時聊天工作流的路由設定6. 路由設定步驟 (msdyn_routingconfigurationstep) - 名稱 (msdyn_name)
- 路由設定 (msdyn_routingconfigurationid)
- 路由設定步驟 (msdyn_routingconfigurationstepid)
- 規則集 (msdyn_rulesetid)
- 步驟順序 (msdyn_steporder)
- 步驟類型 (msdyn_type)
- 唯一名稱 (msdyn_uniquename)
範例 1:所有即時聊天工作流的路由設定步驟
範例 2:單一即時聊天工作流的路由設定步驟
範例 3:多個即時聊天工作流的路由設定步驟7. 工作流產能設定檔 (msdyn_liveworkstreamcapacityprofile) - 產能設定檔 (msdyn_capacityprofile_id)
- 名稱 (msdyn_name)
- 工作流 (msdyn_workstream_id)
- 工作流產能設定檔 (msdyn_liveworkstreamcapacityprofileid)
範例 1:所有即時聊天工作流的工作流產能設定檔
範例 2:單一即時聊天工作流的工作流產能設定檔
範例 3:多個即時聊天工作流的工作流產能設定檔8. 快速回覆 (msdyn_cannedmessage) - 地區設定 (msdyn_locale_field)
- 訊息 (msdyn_message)
- 組織識別碼 (organizationid)
- 快速回覆 (msdyn_cannedmessageid)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- TagsControlField (msdyn_tagscontrolfield)
- 標題 (msdyn_title)
9. 標籤 (msdyn_octag) - 名稱 (msdyn_name)
- 標籤 (msdyn_octagid)
產生結構描述並加以儲存。
匯出資料並產生壓縮的 (zip) 檔案。
使用設定移轉工具、選取匯入資料的選項,並選取壓縮的檔案。
重要
擷取包含內容變數的決策規則集 (sdyn_decisionrulesets) 時,會在沒有相依性對應的情況下建立一些決策規則集。 若要解決此問題,請執行下列步驟:
- 匯入包括決策規則集實體 (msdyn_decisionrulesets) 的所有實體的資料。
- 重新匯入決策規則集實體的資料。 此步驟可確保已匯入決策規則集的所有相依性對應。
如需用於取得所有必要記錄的範例結構描述,請參閱即時聊天工作流的範例結構描述。
工作流實體的 FetchXML
<fetch distinct="true">
<entity name="msdyn_liveworkstream">
<filter type="and">
<condition attribute="msdyn_mode" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" operator="eq" value=" 192360000" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="msdyn_liveworkstream">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}" />
</filter>
</entity>
</fetch>
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="msdyn_liveworkstream">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="in">
<value uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Live Chat Workstream 2" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44098}</value>
</condition>
</filter>
</entity>
</fetch>
內容變數實體的 FetchXML
<fetch>
<entity name="msdyn_ocliveworkstreamcontextvariable" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="aa" >
<filter type="and" >
<condition attribute="msdyn_streamsource" operator="eq" value="192360000" />
<condition attribute="msdyn_mode" operator="eq" value="717210001" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_ocliveworkstreamcontextvariable" >
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{D3A1F09D-51A0-A6B7-266D-58E1BDB97B53}" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="msdyn_ocliveworkstreamcontextvariable" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{D3A1F09D-51A0-A6B7-266D-58E1BDB97B53}" />
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</entity>
</fetch>
決策合約實體的 FetchXML
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<filter type="and" >
<condition attribute="ismanaged" operator="eq" value="false" />
</filter>
<filter type="or" >
<filter type="and" >
<condition attribute="msdyn_mode" entityname="an" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="an" operator="eq" value="192360000" />
</filter>
<filter type="and" >
<condition attribute="msdyn_mode" entityname="bd" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="bd" operator="eq" value="192360000" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an" />
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="ba" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bc" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bd" />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<filter type="and" >
<condition attribute="ismanaged" operator="eq" value="false" />
</filter>
<filter type="or" >
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
</filter>
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an" />
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="ba" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bc" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bd" />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<filter type="and" >
<condition attribute="ismanaged" operator="eq" value="false" />
</filter>
<filter type="or" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="ALM Live Chat Test Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="ALM Live Chat Test Workstream" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname=" Live Chat Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname="Live Chat Workstream 2" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an" />
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="ba" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bc" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bd" />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
決策規則集實體的 FetchXML
<fetch distinct="true" >
<entity name="msdyn_decisionruleset" >
<filter type="or" >
<filter type="and" >
<condition attribute="msdyn_mode" entityname="af" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="af" operator="eq" value="192360000" />
</filter>
</filter>
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="ad" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="ae" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="af" />
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisionruleset" >
<filter type="or" >
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
</filter>
</filter>
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="ad" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="ae" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="af" />
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisionruleset" >
<filter type="or" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="eq" uiname="Live Chat Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="eq" uiname="Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</filter>
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="ad" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="ae" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="af" />
</link-entity>
</link-entity>
</entity>
</fetch>
路由設定實體的 FetchXML
<fetch>
<entity name="msdyn_routingconfiguration">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="ah">
<filter type="and">
<condition attribute="msdyn_mode" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" operator="eq" value="192360000" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_routingconfiguration">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="ah">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_routingconfiguration">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="ah">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="in">
<value uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Live Chat Workstream 2" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44098}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
路由設定步驟實體的 FetchXML
<fetch>
<entity name="msdyn_routingconfigurationstep">
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="inner" alias="ak">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="al">
<filter type="and">
<condition attribute="msdyn_mode" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" operator="eq" value="192360000" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_routingconfigurationstep">
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="inner" alias="ak">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="al">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_routingconfigurationstep">
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="inner" alias="ak">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="al">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="in">
<value uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Live Chat Workstream 2" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44098}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
工作流產能設定檔實體的 FetchXML
<fetch>
<entity name="msdyn_liveworkstreamcapacityprofile">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_workstream_id" link-type="inner" alias="am">
<filter type="and">
<condition attribute="msdyn_mode" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" operator="eq" value="192360000" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_liveworkstreamcapacityprofile">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_workstream_id" link-type="inner" alias="am">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_liveworkstreamcapacityprofile">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_workstream_id" link-type="inner" alias="am">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="in">
<value uiname="Test Live Chat Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Live Chat Workstream 2" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
移轉即時聊天 widget 的設定
已設定下列假設:
規則會在聊天設定之後匯出,以便能夠使用交談前問卷問題做為交談內容變數。
將新問題新增至交談前問卷區段時,您無法建立內容變數。
佇列可以在即時聊天設定和規則定義之後匯出,以便能夠使用交談前問卷問題做為交談內容變數。
無論工作流是手動所建立還是先前已移轉至目的地組織,工作流都必須存在。
若要移轉即時聊天 widget 的資料
使用設定移轉工具建立結構描述,並將即時聊天 widget 及相關實體的資料從來源組織匯出。
- 實體顯示名稱:建立結構描述時,選取表中所述序列的實體。
- 屬性顯示名稱:建議您選取下表中定義的屬性。 您不一定要選取系統定義的屬性,例如 [建立者]、[建立時間]、[修改者]、[修改時間] 和 [負責人]。 您可以視需要選取自訂屬性。
序號 實體顯示名稱 (邏輯名稱) 屬性顯示名稱 (邏輯名稱) 1. 聊天 widget (msdyn_livechatconfig) 用於篩選即時聊天記錄的 FetchXMl
附註:
- 取代條件區段中 msdyn_liveworkstream 的值。
- 不要包含 msdyn_widgetappid 和 msdyn_widgetsnippet 做為實體的一部分。
- 確保在已停用外掛程式的結構描述中做為實體宣告的一部分。 (disableplugins="false")
- (已取代) 在非營運時間 (msdyn_duringnonoperatinghours)
- 專員顯示名稱 (msdyn_agentdisplayname)
- 允許下載文字記錄 (msdyn_enablechattranscriptdownload)
- 允許以電子郵件傳送文字記錄 (msdyn_enablechattranscriptemail)
- 將專員匿名 (msdyn_showagentname)
- 驗證設定 (msdyn_authsettingsid)
- 自動偵測語言 (msdyn_autodetectlanguage)
- Bot 問卷 (msdyn_postconversationsurveybotsurvey)
- 通話選項 (msdyn_callingoptions)
- 聊天 widget (msdyn_livechatconfigid)
- 共同瀏覽提供者 (msdyn_cobrowseprovider)
- 顯示一般名稱 (msdyn_genericagentdisplayname)
- 電子郵件範本 (msdyn_emailtemplate)
- 啟用 (msdyn_postconversationsurveyenable)
- 啟用共同瀏覽 (msdyn_enablecobrowse)
- 為專員啟用檔案附件 (msdyn_enablefileattachmentsforagents)
- 為客戶啟用檔案附件 (msdyn_enablefileattachmentsforcustomers)
- 啟用螢幕共用 (msdyn_enablescreensharing)
- 指示聊天 widget 的交談模式 (msdyn_conversationmode)
- 指示是否已啟用等待時間顯示 (msdyn_averagewaittime_enabled)
- 資訊標籤 (msdyn_infolabel)
- 語言 (msdyn_widgetlocale)
- 語言 (msdyn_ocwidgetlanguage)
- 語言 (msdyn_language)
- 標誌 (msdyn_avatarurl)
- 訊息 (msdyn_postconversationsurveymessagetext)
- 修改日期 (modifiedon)
- 名稱 (msdyn_name)
- 離線 Widget 標題 (msdyn_offlinewidgettitle)
- 離線 Widget 子標題 (msdyn_offlinewidgettitle)
- 離線 Widget 佈景主題色彩 (msdyn_offlinewidgetthemecolor)
- 營運時間 (msdyn_operatinghourid)
- 入口網站 URL (msdyn_portalurl)
- 位置 (msdyn_widgetposition)
- 聊天後問卷 (msdyn_postchatenabled)
- 聊天前問卷 (msdyn_prechatenabled)
- 主動式聊天 (msdyn_proactivechatenabled)
- 提供者 API 金鑰 (msdyn_oc_geolocationprovider)
- 已驗證使用者的問題集 (msdyn_prechatquestionnaireauthenticated)
- 未驗證使用者的問題集 (msdyn_prechatquestionnaireunauthenticated)
- 重新連線至先前的專員 (msdyn_timetoreconnectwithpreviousagent)
- 重新導向 URL (msdyn_redirectionurl)
- 要求訪客位置 (msdyn_requestvisitorlocation)
- 螢幕畫面分享提供者 (msdyn_screensharingprovider)
- 寄件者信箱 (msdyn_mailbox)
- 顯示在佇列中的位置 (msdyn_positioninqueue_enabled)
- 在離線時段顯示 widget (msdyn_showwidgetduringofflinehours)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 子標題 (msdyn_widgetsubtitle)
- 問卷 (msdyn_postconversationsurvey)
- 問卷模式 (msdyn_postconversationsurveymode)
- 佈景主題色彩 (msdyn_widgetthemecolor)
- 標題 (msdyn_widgettitle)
- 開啟重新連線到先前的聊天 (msdyn_enablechatreconnect)
- 開啟音效通知 (msdyn_widgetsoundnotification)
- 開啟未讀取訊息指示器 (msdyn_widgetvisualnotification)
- 工作資料流 (msdyn_liveworkstreamid)
2. 聊天驗證設定 (msdyn_authenticationsettings) - 驗證類型 (msdyn_authenticationtype)
- 聊天驗證設定 (msdyn_authenticationsettingsid)
- JavaScript 用戶端函數 (msdyn_javascriptclientfunction)
- 名稱 (msdyn_name)
- 公開金鑰 URL (msdyn_publickeyurl)
- 狀態 (statecode)
- 狀態原因 (statuscode)
3. 當地語系化 (msdyn_oclocalizationdata) - 自動化訊息 (msdyn_systemmessageid)
- 預設當地語系化文字 (msdyn_defaultlocalizedtext)
- 實體欄名稱 (msdyn_entitycolumnname)
- 實體名稱 (msdyn_entityname)
- 實體記錄識別碼 (msdyn_entityrecordid)
- 是預設 (msdyn_isdefault)
- 語言代碼 (msdyn_customerlanguageid)
- 語言代碼 (msdyn_languagecode)
- 當地語系化 (msdyn_oclocalizationdataid)
- 當地語系化文字 (msdyn_localizedtext)
- 組織識別碼 (organizationid)
- 狀態 (statecode)
- 狀態原因 (statuscode)
4. 訊息 (msdyn_ocsystemmessage) - 管道 (msdyn_streamsource)
- 預設語言 (msdyn_defaultlanguage)
- 執行個體識別碼 (msdyn_instanceid)
- 訊息 (msdyn_ocsystemmessageid)
- 訊息描述 (msdyn_messagedescription)
- 訊息收件者 (msdyn_messagereceiver)
- 訊息範本觸發程序 (msdyn_messagetemplatetrigger)
- 訊息文字 (msdyn_messagetext)
- 訊息觸發程序 (msdyn_systemmessageeventtype)
- 訊息類型 (msdyn_messagetype)
- 名稱 (msdyn_name)
- 組織識別碼 (organizationid)
- 狀態 (statecode)
- 狀態原因 (sttuscode)
- Widget (msdyn_widgetid)
5. 問卷回答選項 (msdyn_chatansweroption) - 名稱 (msdyn_name)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 問卷回答選項 (msdyn_chatansweroptionid)
- 問卷問題 (msdyn_answeroptionsid)
6. 問卷問題 (msdyn_answeroptionsid) - 回答類型 (msdyn_answertyp)
- 説明文字 (msdyn_placeholdertext)
- 問題名稱 (msdyn_nam)
- 問題文字 (msdyn_questiontext)
- 評等量表 (msdyn_ratingscal)
- 狀態 (statecod)
- 狀態原因 (statuscod)
- 問卷問題 (msdyn_surveyquestionid)
- 工作資料流 (msdyn_liveworkstreamtochatquestion)
7. 問卷問題序列 (msdyn_questionsequence) - - 聊天 widget (msdyn_chatengagementtochatsequenceid)
- 名稱 (msdyn_name)
- 順序 (sequencenumber)
- 必要 (msdyn_questionrequired)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 問卷問題名稱 (msdyn_surveyquestion)
- 問卷問題序列 (msdyn_questionsequenceid)
- 問卷類型 (msdyn_chatquestionnairetype)
8. 問卷回覆 (msdyn_chatquestionnaireresponse) - 名稱 (msdyn_name)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 問卷回答選項 (msdyn_chatansweroptionid)
- 問卷回答文字 (msdyn_chatanswertext)
- 問卷問題識別碼 (msdyn_surveyquestionid)
- 問卷回覆 (msdyn_chatquestionnaireresponseid)
- 問卷回覆值 (msdyn_chatquestionnaireresponseitemid)
9. 聊天 Widget 位置 (msdyn_livechatwidgetlocation) - 聊天 widget (msdyn_livechatconfigid)
- 聊天 Widget 位置 (msdyn_livechatwidgetlocationid)
- 位置 URL 萬用字元 (msdyn_locationurlwildcard)
- 修改者 (modifiedby)
- 規則類型 (msdyn_ruletype)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 標題 (msdyn_name)
- 值 (msdyn_domainvalue)
10. 聊天 Widget 語言 (msdyn_chatwidgetlanguage) - 聊天 Widget 語言 (msdyn_chatwidgetlanguageid)
- 語言名稱 (msdyn_languagename)
- 地區設定識別碼 (msdyn_localeid)
- 狀態 (statecode)
- 狀態原因 (statuscode)
11. 當地語系化問卷問題 (msdyn_localizedsurveyquestion) - 描述 (msdyn_description)
- 語言代碼 (msdyn_languagecode)
- 當地語系化問題文字 (msdyn_localizedquestiontext)
- 當地語系化問卷問題 (msdyn_localizedsurveyquestionid)
- 名稱 (msdyn_name)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 問卷問題 (msdyn_surveyquestionid)
12. 地理位置提供者 (msdyn_oc_geolocationprovider) - Bing 地圖服務 API 金鑰 (msdyn_providerapikey)
- 地理位置提供者 (msdyn_oc_geolocationproviderid)
- 名稱 (msdyn_name)
- 提供者 API 金鑰版本 (msdyn_providerapikeyversion)
- 提供者名稱 (msdyn_providername)
- 狀態 (statecode)
- 狀態原因 (statuscode)
產生結構描述並加以儲存。
匯出資料並產生壓縮的 (zip) 檔案。
使用設定移轉工具、選取匯入資料的選項,然後選取壓縮的檔案。
如需用於取得所有必要記錄的範例結構描述,請參閱即時聊天管道的範例結構描述
即時聊天的 FetchXML
<fetch version="1.0" mapping="logical" distinct="false">
<entity name="msdyn_livechatconfig">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="ab">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="elopez-ws-lcw-m7" uitype="msdyn_liveworkstream" value="{EBEE52BD-2EFD-99C5-C658-F13E7C7D3F8C}" />
</filter>
</link-entity>
</entity>
</fetch>
驗證您的移轉
將來源組織的整合路由相關設定資料順利匯入至目標組織之後,在目標組織中執行下列步驟:
在 UI 中,確定整合路由設定和規則集已正確呈現且沒有顯示錯誤。
如果在整合路由規則集中使用技能和評等值,則必須手動連結、關聯或建立使用者、可預約資源以及可預約資源特性記錄。
如果在整合路由的規則集和工作流中使用產能設定檔,則必須手動連結、關聯或建立使用者、可預約資源以及可預約資源產能設定檔記錄。
匯出和匯入資料的考量
若要疑難排解移轉期間可能會遇到的任何問題,請依下列方式檢查記錄檔:
將資料匯入至目標組織時,如果看到黃色警告符號,則在設定移轉工具中檢查下列記錄檔:
- Login_ErrorLog.log:提供有關您使用移轉設定工具登入組織時所遇任何問題的資訊。
- DataMigrationUtility.log:提供有關上次移轉期間使用工具所執行工作的資訊。
- ImportDataDetail.log:提供有關工具在上次資料匯入中所匯入資料的資訊。
其他資訊:使用記錄檔疑難排解組態資料移轉問題
如果記錄檔包含網路錯誤,則重複匯入程序。
以下是範例:
Time: 11:46:09 PM Error: There was no endpoint listening at `https://www.contoso.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.2.46.5279` that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Stack Trace: Service stack trace: