移轉語音管道的資料
注意
功能可用性資訊如下。
Dynamics 365 Contact Center — 內嵌 | Dynamics 365 Contact Center — 獨立 | Dynamics 365 Customer Service |
---|---|---|
是 | 是 | 是 |
使用 Configuration Migration Tool,將語音管道的設定從來源組織移轉至目標組織。
注意
但是,我們建議您使用解決方案框架遷移配置。 詳細資訊: 使用解決方案遷移通道的配置
如需如何使用設定移轉工具的詳細資訊,請參閱下列文章:
先決條件
必須符合下列先決條件:
- 在來源組織中,如果整合路由規則集參考下列各項,請先確定這些項目已存在於目標組織中,再繼續進行移轉:
- 自訂實體
- 屬性
- 關係
- 選項組
- 查詢值
- 請確定執行移轉的使用者在來源與目標組織的下列整合路由實體上具有所需的權限:
- 工作流 (
msdyn_liveworkstream
) - 管道設定 (
msdyn_omnichannelconfiguration
) - 通知範本 (
msdyn_notificationtemplate
) - 工作階段範本 (
msdyn_sessiontemplate
) - 營運時間 (
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
)
- 工作流 (
重要
客戶、管道、Azure 通訊服務電話號碼取得、電話號碼設定、bot 設定,以及 AI 和分析設定的移轉不在範圍之內。
移轉語音管道設定
您必須依照列出步驟的順序執行步驟,才能順利地移轉設定資料。 使用表中的資訊,並參考每個設定對應的範例結構描述。
- 使用解決方案移轉設定
- 匯出和匯入技能型路由的設定
- 匯出和匯入產能設定檔的設定
- 匯出和匯入語音管道佇列的設定
- 匯出和匯入語音管道工作流的設定
- 移轉語音管道的設定
- 驗證您的移轉
- 疑難排解資料匯出和匯入
使用解決方案移轉設定
如果您在語音路由設定中使用自訂工作階段範本和通知,請執行使用解決方案移轉設定中所述的步驟
移轉技能型設定
如果在整合路由設定中使用技能型路由規則集,請執行移轉技能型路由的資料中所述的步驟。 請務必適當地調整語音的任何篩選 Fetch XML。
移轉設定產能設定檔
如果已在語音路由設定中設定產能設定檔,請執行匯出和匯入產能設定檔的資料中所述的步驟。
移轉語音管道佇列的設定
若要匯出和匯入語音管道的佇列,請執行移轉整合路由型記錄佇列的資料中所述的步驟。
移轉語音管道工作流的設定
使用設定移轉工具,建立結構描述,並將語音工作流的資料從來源組織匯出。
- 實體顯示名稱:建立結構描述時,選取表中所述同樣序列的實體。
- 屬性顯示名稱:建議您選取下表中定義的屬性。 您不需要選取現成可用的系統定義屬性,例如 [建立者]、[建立時間]、[修改者]、[修改時間] 和 [負責人]。 您可以視需要選取自訂屬性。
- 使用 FetchXML 來篩選記錄:對每個實體使用下表中提及的適當 FetchXML 查詢,以便根據您的需求取得單一、多個或所有記錄。 對於單一或多個記錄,您必須使用來源組織,才能取得 uiname 中的正確名稱和值中的 GUID。 如有需要,您可以使用進階尋找功能表項目來建構適當的 FetchXML 查詢。
- 設定匯入設定:對於決策合約實體,確定您已選取不更新現有記錄核取方塊。
確定語音管道設定中所參考的工作流已包含在移轉中。
序號 實體顯示名稱 (邏輯名稱) 屬性顯示名稱 (邏輯名稱) 使用 FetchXML 來篩選記錄 1. 工作流 (msdyn_liveworkstream) - API 金鑰 (msdyn_apikey)
- API 金鑰版本號碼 (msdyn_apikeyversionnumber)
- 允許自動化訊息 (msdyn_enableautomatedmessages) 允許的目前狀態 (msdyn_allowedpresences)
- 在拒絕或逾時後指派工作項目 (msdyn_assignworkitemafterdecline)
- 處於非使用狀態之後自動關閉 (msdyn_autocloseafterinactivity)
- 因總結狀態而封鎖產能 (msdyn_blockcapacityforwrapup)
- 機器人佇列 (msdyn_bot_queue)
- Bot 規則 (msdyn_bot_rule)
- Bot 使用者 (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:多個語音工作流的工作流產能設定檔產生結構描述並加以儲存。
匯出資料並產生壓縮的 (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="192440000" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="msdyn_liveworkstream">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Voice 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 Voice Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Voice 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="192440000" />
<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="Voice Workstream" uitype="msdyn_liveworkstream" value="{D3A1F09D-51A0-A6B7-266D-58E1BDB97B53}" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="msdyn_ocliveworkstreamcontextvariable" ><a name="BKMK3vwcv"></a>
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Voice Workstream" uitype="msdyn_liveworkstream" value="{D3A1F09D-51A0-A6B7-266D-58E1BDB97B53}" />
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Voice Workstream 1" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</entity>
</fetch>
決策合約實體的 FetchXML
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<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="192440000" />
</filter>
<filter type="and" >
<condition attribute="msdyn_mode" entityname="bd" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="bd" operator="eq" value="192440000" />
</filter>
<filter type="and" >
<condition attribute="msdyn_mode" entityname="bk" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="bk" operator="eq" value="192440000" />
</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>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bh" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bi" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bj" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bk" />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<filter type="or" >
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Voice Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
</filter>
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname="Voice Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
</filter>
<filter type="and" >
<condition attribute="msdyn_liveworkstreamid" entityname="bk" operator="eq" uiname="Voice 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>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bh" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bi" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bj" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bk" />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true" >
<entity name="msdyn_decisioncontract" >
<filter type="or" >
<filter type="and" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Voice Workstream 1" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Voice Workstream 2" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</filter>
<filter type="and" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname="Voice Workstream 1" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname="Voice Workstream 2" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</filter>
<filter type="and" >
<filter type="or" >
<condition attribute="msdyn_liveworkstreamid" entityname="bk" operator="eq" uiname="Voice Workstream 1" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="bk" operator="eq" uiname="Voice Workstream 2" uitype="msdyn_liveworkstream" value="{f9e18e67-d1a8-ed11-aad1-00224805c057}" />
</filter>
</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>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bh" >
<link-entity name="msdyn_routingconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bi" >
<link-entity name="msdyn_routingconfiguration" from="msdyn_routingconfigurationid" to="msdyn_routingconfigurationid" link-type="outer" alias="bj" >
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="outer" alias="bk" />
</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="192440000" />
</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="Voice 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="Voice Workstream" uitype="msdyn_liveworkstream" value="{d3a1f09d-51a0-a6b7-266d-58e1bdb97b53}" />
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="eq" uiname="Voice 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="192440000" />
</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 Voice 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 Voice Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Voice 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="192440000" />
</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 Voice 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 Voice Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}</value>
<value uiname="Test Voice 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="192440000" />
</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 Voice 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 Voice Workstream 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Voice Workstream 2" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
移轉語音管道設定的設定
假設工作流必須已經存在;已手動建立,或先前已在目的地組織中進行移轉。
若要移轉語音管道的資料
使用 Configuration Migration Tool 建立結構描述,並將語音管道及相關實體的資料從來源組織匯出。
- 實體顯示名稱:建立結構描述時,選取表中所述序列的實體。
- 屬性顯示名稱:建議您選取下表中定義的屬性。 您不一定要選取系統定義的屬性,例如 [建立者]、[建立時間]、[修改者]、[修改時間] 和 [負責人]。 您可以視需要選取自訂屬性。
序號 實體顯示名稱 (邏輯名稱) 屬性顯示名稱 (邏輯名稱) 1. 語音管道設定 (msdyn_ocvoicechannelsetting) 用於篩選語音管道設定記錄的 FetchXML
附註:
- 取代條件區段中 msdyn_liveworkstream 的值。
- 不要加入電話號碼 (msdyn_phonenumberid) 資料行,因為電話號碼資料表中的記錄是環境特定記錄且無法移轉。 您必須在目的地環境中手動指派電話號碼。 如果因任何緣故而不允許執行此動作,則可以加入電話號碼欄。 但在匯入之前,您需要手動編輯已匯出 ZIP 檔案中的 data.xml 檔案,並將其值取代為目的地環境中的正確電話號碼 GUID。
- 確保在已啟用外掛程式的結構描述中做為實體宣告的一部分。 (disableplugins="false")
- 宣告平均等待時間 (msdyn_announceaveragewaittime)
- 宣告佇列中的位置 (msdyn_announcepositioninqueue)
- 啟用錄製內容的專員控制項 (msdyn_agentrecordingcontrolsenabled)
- 啟用謄寫的專員控制項 (msdyn_agenttranscriptioncontrolsenabled)
- 啟用專員控制項以新增外部參與者 (msdyn_agentexternalparticipantcontrolenabled)
- 啟用專員控制項以新增外部參與者 (msdyn_agentexternalparticipantcontrolenabled)
- 啟用專員控制項以在 Teams 中新增外部參與者 (msdyn_agentexternalteamsparticipantcontrolenabled)
- 名稱 (msdyn_name)
- 營運時間 (msdyn_operatinghoursid)
- 錄製功能已啟用 (msdyn_recordingenabled)
- 錄製模式 (msdyn_recordingmode)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 謄寫功能已啟用 (msdyn_transcriptionenabled)
- 謄寫模式 (msdyn_transcriptionmode)
- 語音管道設定 (msdyn_voicechannelsettingid)
- 工作資料流 (msdyn_liveworkstreamid)
2. 當地語系化 (msdyn_oclocalizationdata) 用於篩選語音管道當地語系化記錄的 FetchXML
- 自動化訊息 (msdyn_systemmessageid)
- 預設當地語系化文字 (msdyn_defaultlocalizedtext)
- 實體欄名稱 (msdyn_entitycolumnname)
- 實體名稱 (msdyn_entityname)
- 實體記錄識別碼 (msdyn_entityrecordid)
- 是預設 (msdyn_isdefault)
- 語言代碼 (msdyn_customerlanguageid)
- 語言代碼 (msdyn_languagecode)
- 當地語系化 (msdyn_oclocalizationdataid)
- 當地語系化文字 (msdyn_localizedtext)
- 組織識別碼 (organizationid)
- 狀態 (statecode)
- 狀態原因 (statuscode)
3. 訊息 (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)
- 狀態原因 (statuscode)
4. 語音 (msdyn_ocvoice) - 語言 (msdyn_languageid)
- 名稱 (msdyn_name)
- 音調 (msdyn_pitch)
- 說話速度 (msdyn_speakingspeed)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 語音 (msdyn_ocvoiceid)
- 語音名稱 (msdyn_voicename)
- 語音樣式 (msdyn_voicestyle)
5. 語音管道語言設定 (msdyn_ocvoicechannellanguagesetting) 附註:
- 移轉此資料表之前,請確定使用者 (systemuser) 資料表中存在問卷機器人系統使用者 (msdyn_surveybotsystemuserid),並且每個記錄中保留音樂 (msdyn_holdmusicid) 和等待音樂 (msdyn_waitmusicid) 資料行參考的所有音樂檔都已存在於目的地環境的電話音樂 (msdyn_ocphonemusic) 資料表中。 遺憾的是,電話音樂資料表有檔案資料行,無法進行移轉。- 保留音樂 (msdyn_holdmusicid)
- 為主要 (msdyn_isprimary)
- 語言 (msdyn_languageid)
- 名稱 (msdyn_name)
- 狀態 (statecode)
- 狀態原因 (statuscode)
- 問卷機器人系統使用者 (msdyn_surveybotsystemuserid)
- 語音 (msdyn_ocvoiceid)
- 語音管道語言設定 (msdyn_ocvoicechannellanguagesettingid)
- 語音管道設定 (msdyn_ocvoicechannelsettingid)
- 等待音樂 (msdyn_waitmusicid)
6. 佈建狀態 (msdyn_ocprovisioningstate) 用於篩選語音佈建狀態記錄的 FetchXML - voicechannelsettingsid (msdyn_ocvoicechannelsettingsid)
- 名稱 (msdyn_name)
產生結構描述並加以儲存。
匯出資料並產生壓縮的 (zip) 檔案。
使用設定移轉工具、選取匯入資料的選項,然後選取壓縮的檔案。
如需用於取得所有必要記錄的範例結構描述,請參閱語音管道的範例結構描述。
語音管道設定 FetchXML
<fetch>
<entity name="msdyn_ocvoicechannelsetting">
<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="Test Voice Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}" />
</filter>
</link-entity>
</entity>
</fetch>
語音管道當地語系化的 FetchXML
<fetch>
<entity name="msdyn_oclocalizationdata">
<link-entity name="msdyn_ocsystemmessage" from="msdyn_ocsystemmessageid" to="msdyn_systemmessageid" link-type="inner" alias="ah">
<filter type="and">
<condition attribute="msdyn_streamsource" operator="eq" uiname="192440000"/>
</filter>
</link-entity>
</entity>
</fetch>
語音佈建狀態的 FetchXML
<fetch>
<entity name="msdyn_ocprovisioningstate">
<link-entity name="msdyn_ocvoicechannelsetting" from="msdyn_ocvoicechannelsettingid" to="msdyn_voicechannelsettingid" link-type="inner" alias="ac">
<link-entity name="msdyn_liveworkstream" from="msdyn_liveworkstreamid" to="msdyn_liveworkstreamid" link-type="inner" alias="ad">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Voice Workstream 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312ABC}" />
</filter>
</link-entity>
</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: