適用対象: Dynamics 365 Contact Center—埋め込み、Dynamics 365 Contact Center—スタンドアロン、Dynamics 365 Customer Service
ソリューションと構成移行ツールを使用して、レコードのルーティングの構成をソース環境からターゲット環境に移行します。
ソリューションまたは Configuration Migration Tool の使用方法については、Power Platform の ALM に使用するツールとアプリの概要を参照してください。
前提条件
次の前提要件を満たす必要があります。
- チャネル構成の移行を実行するユーザーに次の権限があることを確認してください。
- ソース環境からソリューションをエクスポートする方法。
- 対象の環境にソリューションをインポートする方法。
- 構成移行ツールを使用してソース環境から移行されたすべてのテーブルに対する読み取りアクセス許可。
- 構成移行ツールを使用して移行先環境に移行されたすべてのテーブルに対する完全なアクセス許可。
- 移行元環境で、以下のようなテーブルや列が参照されている場合、移行を進める前に移行先環境にそれらが存在することを確認してください:
- カスタム テーブル (エンティティ)
- 列 (属性)
- 顧客間関係
- 選択肢 (オプション セット)
- 検索値
ルーティング構成の移行手順の記録
構成データを正常に移行するためには、記載されている順番に手順を実行する必要があります:
- セッション テンプレートと通知テンプレートの構成の移行する。
- スキルベースのルーティング ルールセットの構成の移行する。
- 新しいキャパシティ プロファイルの構成の移行する。
- SMS キューの構成を移行する。
- 受入ルールと作業ストリームの構成を移行する。
セッション テンプレートと通知テンプレートの構成の移行
以下のコンポーネントがセットアップで利用可能な場合は、ソリューションに追加し、ソリューションをエクスポートしてターゲット環境にインポートします。
次のコンポーネントをソリューションに追加し、ソース環境からエクスポートします:
- エージェント スクリプト (msdyn_productivityagentscripts)
- エージェント スクリプト ステップ (msdyn_productivityagentscriptsteps)
- アプリケーション タブ テンプレート (msdyn_applicationtabtemplates)
- 通知フィールド (msdyn_notificationfields)
- 通知テンプレート (msdyn_notificationtemplates)
- マクロ (processes)
- セッション テンプレート (msdyn_sessiontemplates)
- テンプレート パラメータ (msdyn_templateparameters)
ターゲット環境でソリューションをインポートします。
ソリューションの詳細については、Power Apps のソリューションにアクセスしてください。
スキルベースのルーティング ルールセットの構成の移行
統合ルーティング セットアップでスキルベースのルーティング ルール セットが使用されている場合は、対応する構成を移行する手順を実行します。
必要なレコードをすべて取得するためのサンプル スキーマについては、スキルベースのルーティング構成のサンプル スキーマを参照してください。
構成移行ツールを使用してスキーマを作成し、スキルベースのルーティング構成のためにソース組織からデータをエクスポートします。
- エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
- 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。
重要
必要に応じて、ターゲット組織に bookableresourcecharacteristictype (グローバルオプション セット値) を手動で作成する必要があります。
エンティティ表示名 (論理名) 属性表示名 (論理名) FetchXML を使用してレコードをフィルタリングする 特徴的 (特徴的) - 特徴タイプ (characteristictype)
- 特徴的 (characteristicid)
- 説明 (description)
- 名前 (name)
モデル (ratingmodel) - 最大評価値 (maxratingvalue)
- 最小評価値 (minratingvalue)
- 名前 (name)
- 評価モデル (ratingmodelid)
評価値 (ratingvalue) - 名前 (name)
- モデル (ratingmodel)
- 評価値 (ratingvalueid)
- 値 (value)
スキーマを生成して保存します。
データをエクスポートし、圧縮 (zip) ファイルを生成します。
構成移行ツールを使用し、圧縮ファイルを使用してターゲット組織にデータをインポートするオプションを選択します。
容量プロファイル構成の移行
統合ルーティング セットアップで容量プロファイルが構成されている場合、スキルベースのルーティング ルール セットが使用されている場合は、対応する構成を移行する手順を実行します。
必要なレコードをすべて取得するサンプルスキーマの場合、容量プロファイルのサンプル スキーマを参照してください。
構成移行ツールを使用してスキーマを作成し、スキルベースのルーティング構成のためにソース組織からデータをエクスポートします。
- エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
- 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。
- FetchXML を使用してレコードをフィルタリングする: エンティティごとに、次の表にある適切な FetchXML クエリを使用して、要件に基づき単一、複数、またはすべてのレコードを取得します。 単一または複数のレコードの場合、ソース組織を使用して、uiname で正しい名前を取得し、値で GUID を取得する必要があります。 必要に応じて、ADVANCED FIND メニュー項目を使用して、適切な FetchXML クエリを作成できます。
-
インポート設定の構成:
インポート設定を構成する: 意思決定契約エンティティの場合は、必ず 既存のレコードを更新しないでください チェックボックスを選択してください。
意思決定契約エンティティを含むすべてのエンティティについて、更新時に比較するフィールドとして使用されるエンティティの主キー フィールドを選択していることを確認してください。 アカウントの例は次の通りです。
注意
単一または複数のレコードを取得するためのサンプル クエリを次の表に示します。 クエリは、エンティティをインシデントおよびタスクと見なしています。 要件に基づき、FetchXML クエリのエンティティ論理名を確実に更新してください。
次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。
エンティティ表示名 (論理名) 属性表示名 (論理名) FetchXML を使用してレコードをフィルタリングする 容量プロファイル (msdyn_capacityprofile) - ブロック割り当て (msdyn_blockassignment)
- 容量プロファイル (msdyn_capacityprofileid)
- 規定の最大単位 (msdyn_defaultmaxunits) 名前 (msdyn_name)
- リセット期間 (msdyn_resetduration)
- 一意の名前 (msdyn_uniquename)
サンプル 1: すべてのキャパシティ プロファイル レコード <fetch>
<entity name="msdyn_capacityprofile"><filter type="and"><condition attribute="ismanaged" operator="eq" value="0" /></filter></entity>
</fetch>
サンプル 2: 単一のキャパシティ プロファイル レコード
<fetch><entity name="msdyn_capacityprofile"><filter type="and"><condition attribute="msdyn_capacityprofileid" operator="eq" uiname="Demo Capacity Profile 1" uitype="msdyn_capacityprofile" value="{F57CFE3C-14BD-D53E-F423-A1E7F9749DFB}" />
</filter>
</entity>
</fetch>
サンプル 3: 複数のキャパシティ プロファイル レコード
<fetch>
<entity name="msdyn_capacityprofile">
<filter type="and">
<condition attribute="msdyn_capacityprofileid" operator="in"><value uiname="Demo Capacity Profile 1" uitype="msdyn_capacityprofile">{F57CFE3C-14BD-D53E-F423-A1E7F9749DFB}</value>
<value uiname="Demo Capacity Profile 2" uitype="msdyn_capacityprofile">{D0B8ABFB-4A9F-0B1F-6FF4-8003E29A623C}</value></condition></filter></entity></fetch>スキーマを生成して保存します。
データをエクスポートし、圧縮 (zip) ファイルを生成します。
構成移行ツールを使用し、ターゲット組織にデータをインポートするオプションを選択します。
レコード キューの構成データの移行
構成移行ツールを使用してスキーマを作成し、レコード キュー構成のためにソース組織からデータをエクスポートします。
- エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
- 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。
- FetchXML を使用してレコードをフィルタリングする: エンティティごとに、次の表にある適切な FetchXML クエリを使用して、要件に基づき単一、複数、またはすべてのレコードを取得します。 単一または複数のレコードの場合、ソース組織を使用して、uiname で正しい名前を取得し、値で GUID を取得する必要があります。 必要に応じて、ADVANCED FIND メニュー項目を使用して、適切な FetchXML クエリを作成できます。
-
インポート設定の構成:
インポート設定を構成する: 意思決定契約エンティティの場合は、必ず 既存のレコードを更新しないでください チェックボックスを選択してください。
意思決定契約エンティティを含むすべてのエンティティについて、更新時に比較するフィールドとして使用されるエンティティの主キー フィールドを選択していることを確認してください。 アカウントの例は次の通りです。
注意
単一または複数のレコードを取得するためのサンプル クエリを次の表に示します。 クエリは、エンティティをインシデントおよびタスクと見なしています。 要件に基づき、FetchXML クエリのエンティティ論理名を確実に更新してください。
最大容量やラウンドロビンなど、キューにすぐに使用できる割り当て方法を使用している場合は、次のエンティティをスキップします:
- 決定ルール セット
- 割り当て構成
- 割り当て構成ステップ
構成移行ツールが選択基準をインポートする前に、割り当てルールセットがシステムで使用可能になっている必要があります。 したがって、レコード キューの構成を移行する際は、次の手順を指定された順序で実行する必要があります。
重要
- キュー レコードをインポートするたびに、新しいキュー レコードを作成するか、既存のキュー レコードを更新する必要があります。 同じデータ インポートでアクションを混在させないでください。
- キュー テーブルの data.xml 内のすべてのレコードが作成されたら、schema.xml 内に以下の行が存在することを確認してください:
<field displayname="Queue type" name="msdyn_queuetype" type="optionsetvalue" customfield="true"/>、および対応するデータにも msdyn_queuetype のフィールドがあります。 - data.xml のキュー テーブルのすべてのレコードが更新用である場合、schema.xml の次の行を削除してください:
<field displayname="Queue type" name="msdyn_queuetype" type="optionsetvalue" customfield="true"/>、そして対応するデータも msdyn_queuetype のフィールドを持たなくなります。 - 移行するキューにオーバーフロー条件セットがある場合は、最初に決定ルールセットをエクスポートおよびインポートする必要があります。 移行シーケンスは以下のようになります:
- 決定契約
- 決定ルールセット
- Queue
- 割り当て構成
- 選択基準のない割り当て構成ステップ
- 営業時間
- オーバーフロー アクション
- 稼働時間テーブルに関連付けられたカレンダー項目を移行することはできません。 稼働時間テーブルをターゲット環境にインポートした後、正しく設定する必要があります。
ステップ1: 選択基準を使用せずにルールセットのエクスポートとインポートを行う
次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。
| エンティティ表示名 (論理名) | 属性表示名 (論理名) | FetchXML を使用してレコードをフィルタリングする |
|---|---|---|
| キュー (queue) |
|
サンプル 1: レコードのすべてのキュー サンプル 2: レコードの単一キュー サンプル 3: レコードの複数キュー |
| 意思決定契約 (msdyn_decisioncontract) |
|
サンプル 1: すべてのレコード キューの意思決定契約 サンプル 2: 単一レコード キューの意思決定契約 サンプル 3: 複数レコード キューの意思決定契約 |
| 選択基準を使用しない決定ルールセット (msdyn_decisionruleset) |
|
サンプル 1: 選択基準を定義していない、すべてのレコード キューに対する決定ルールセット サンプル 2: 選択基準を定義していない、単一レコード キューに対する決定ルールセット サンプル 3: 選択基準を定義していない、複数のレコード キューに対する決定ルールセット |
| 割り当て構成 (msdyn_assignmentconfiguration) |
|
サンプル 1: すべてのレコード キューの割り当て構成 サンプル 2: 単一レコード キューの割り当て構成 サンプル 3: 複数レコード キューの割り当て構成 |
| 選択条件を使用しない割り当て構成ステップ (msdyn_assignmentconfigurationstep) |
|
サンプル 1: 選択基準を定義していない、すべてのレコード キューに対する割り当て構成ステップ サンプル 2: 選択基準を定義していない、単一のレコード キューに対する割り当て構成ステップ サンプル 3: 選択基準を定義していない、複数のレコード キューに対する割り当て構成ステップ |
| 営業時間 (msdyn_operatinghour) |
|
サンプル 1: すべてのレコード キューの営業時間 サンプル 2: 単一レコード キューの営業時間 サンプル 3: 複数のレコード キューの営業時間 |
| オーバーフローアクション構成 (msdyn_overflowactionconfig) |
|
サンプル 1: 特定のレコードにフィルターされたオーバーフロー アクション構成 |
ルールセットのエクスポートとインポートを行う際は、次の手順を実行します。
スキーマを生成して保存します。
データをエクスポートし、圧縮 (.zip) ファイルを生成します。
.zip ファイルを解凍し、解凍したフォルダー内の data.xml ファイルを開いて、以下の操作を行います。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_assignmentoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_selectionruleoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、msdyn_decisioncontractid の GUID をメモします。
https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetinput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、msdyn_decisioncontractid の GUID をメモします。
https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
抽出されたコンテンツを再パッケージ化します。
Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。
注意
稼働時間テーブルをターゲット環境にインポートした後、稼働時間テーブルに関連付けられたカレンダー項目を正しく設定します。
すべての必要なレコードを取得するサンプル スキーマについては、レコード キューの手順 1 のサンプル スキーマにアクセスしてください。
ステップ 2: 選択基準を定義してルールセットのエクスポートとインポートを行う
次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。
| エンティティ表示名 (論理名) | 属性表示名 (論理名) | FetchXML を使用してレコードをフィルタリングする |
|---|---|---|
| 選択基準を使用した決定ルールセット (msdyn_decisionruleset) |
|
サンプル 1: 選択基準を定義した、すべてのレコード キューに対する決定ルールセット サンプル 2: 選択基準を定義した、単一レコード キューに対する決定ルールセット サンプル 3: 選択基準を定義した、複数のレコード キューに対する決定ルールセット |
| 選択条件を使用した割り当て構成ステップ (msdyn_assignmentconfigurationstep) |
|
サンプル 1: 選択基準を定義した、すべてのレコード キューに対する割り当て構成ステップ サンプル 2: 選択基準を定義した、単一のレコード キューに対する割り当て構成ステップ サンプル 3: 選択基準を定義した、複数のレコード キューに対する割り当て構成ステップ |
ルールセットのエクスポートとインポートを行う際は、次の手順を実行します。
スキーマを生成して保存します。
データをエクスポートし、圧縮 (.zip) ファイルを生成します。
.zip ファイルを解凍し、解凍したフォルダー内の data.xml ファイルを開いて、以下の操作を行います。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_assignmentoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_selectionruleoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
抽出されたコンテンツを再パッケージ化します。
Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。
すべての必要なレコードを取得するサンプル スキーマについては、レコード キューの手順 2 のサンプル スキーマにアクセスしてください。
手順 3: 事前キュー オーバーフロー ルールセット構成をエクスポートおよびインポートする
キューのオーバーフロー オーバーライド メソッドを使用していない場合は、この手順をスキップしてください。
次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。
| エンティティ表示名 (論理名) | 属性表示名 (論理名) | FetchXML を使用してレコードをフィルタリングする |
|---|---|---|
| キュー (queue) |
|
サンプル 1: レコードのすべてのキュー サンプル 2: レコードの単一キュー サンプル 3: レコードの複数キュー |
| 意思決定契約 (msdyn_decisioncontract) |
|
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューの決定コントラクト サンプル 2: プリキュー オーバーフローが定義された単一レコード キューの決定コントラクト サンプル 3: プリキュー オーバーフローが定義された複数のレコード キューの決定コントラクト |
| 選択基準を使用した決定ルールセット (msdyn_decisionruleset) |
|
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューの決定ルールセット サンプル 2: プリキュー オーバーフローが定義された単一レコード キューの決定ルールセット サンプル 3: プリキュー オーバーフローが定義された複数のレコード キューの決定ルールセット |
事前キュールールセットをエクスポートおよびインポートするには、次の手順を実行します。
スキーマを生成して保存します。
データをエクスポートし、圧縮された .zip ファイルを生成します。
.zip ファイルを解凍し、解凍したフォルダー内の data.xml ファイルを開いて、以下の操作を行います。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetinput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
ソース環境とターゲット組織で、次の OData API 呼び出しを実行し、
msdyn_decisioncontractidの GUID をメモします。https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetoutput'data.xml ファイルで、ソース環境の msdyn_decisioncontractid GUID をターゲット環境の msdyn_decisioncontractid GUID に置き換えます。
抽出したコンテンツを .zip ファイルに再パッケージ化します。
Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。
サンプル スキーマで必要なすべてのレコードを取得するには、「 オーバーフローのサンプル スキーマ」を参照してください。
キューの FetchXML
<fetch>
<entity name="queue">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="queue">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</entity>
</fetch>
<fetch>
<entity name="queue">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</entity>
</fetch>
意思決定契約のための FetchXML
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_queuetype" entityname="aw" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" entityname="aw" operator="eq" value="1" />
<condition attribute="queueid" entityname="aw" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
<filter type="and">
<condition attribute="msdyn_isomnichannelqueue" entityname="be" operator="eq" value="1" />
<condition attribute="msdyn_queuetype" entityname="be" operator="eq" value="192350001" />
<condition attribute="queueid" entityname="be" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
<filter type="and">
<condition attribute="msdyn_isomnichannelqueue" entityname="bm" operator="eq" value="1" />
<condition attribute="msdyn_queuetype" entityname="bm" operator="eq" value="192350001" />
<condition attribute="queueid" entityname="bm" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</filter>
<link-entity name="queue" from="msdyn_assignmentinputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="aw"></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bb">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bc">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bd">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="be"></link-entity>
</link-entity>
</link-entity>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bj">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bk">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bl">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="bm"></link-entity>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="aw" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
<filter type="and">
<condition attribute="queueid" entityname="be" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
<filter type="and">
<condition attribute="queueid" entityname="bm" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</filter>
<link-entity name="queue" from="msdyn_assignmentinputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="aw"></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bb">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bc">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bd">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="be"></link-entity>
</link-entity>
</link-entity>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bj">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bk">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bl">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="bm"></link-entity>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="aw" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
<filter type="and">
<condition attribute="queueid" entityname="be" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
<filter type="and">
<condition attribute="queueid" entityname="bm" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</filter>
<link-entity name="queue" from="msdyn_assignmentinputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="aw"></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bb">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bc">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bd">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="be"></link-entity>
</link-entity>
</link-entity>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bj">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bk">
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="outer" alias="bl">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="outer" alias="bm"></link-entity>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
キューの決定ルールセットの FetchXML
サンプル 1: 選択基準のないすべてのキューの決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
サンプル 2: 選択基準のない単一のキューの決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
サンプル 3: 選択基準のない複数のキューの決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
割り当て構成のための FetchXML
<fetch>
<entity name="msdyn_assignmentconfiguration">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="bi">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfiguration">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="bi">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfiguration">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="bi">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
割り当て構成ステップの FetchXML
サンプル 1: 選択基準のないすべてのキューの割り当て構成手順
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="ne" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
キューの決定ルールセットの FetchXML
サンプル 1: 選択基準を持つすべてのキューの決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
サンプル 2: 選択基準を持つ単一待ち行列の決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
サンプル 3: 選択基準のある複数のキューの決定ルールセット
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_assignmentconfigurationstep" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="an">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="ao">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
割り当て構成ステップの FetchXML
サンプル 1: 選択基準のあるすべてのキューの割り当て構成手順
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
<fetch>
<entity name="msdyn_assignmentconfigurationstep">
<filter>
<condition attribute="msdyn_type" operator="eq" value="192350001" />
</filter>
<link-entity name="msdyn_assignmentconfiguration" from="msdyn_assignmentconfigurationid" to="msdyn_assignmentconfigurationid" link-type="inner" alias="bq">
<link-entity name="queue" from="queueid" to="msdyn_queueid" link-type="inner" alias="br">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
営業時間の FetchXML
XMLCopy
<fetch>
<entity name="msdyn_operatinghour">
<link-entity name="queue" from="msdyn_operatinghourid" to="msdyn_operatinghourid" link-type="inner" alias="aa">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001"/>
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1"/>
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}"/>
</filter>
</link-entity>
</entity>
</fetch>
XMLCopy
<fetch>
<entity name="msdyn_operatinghour">
<link-entity name="queue" from="msdyn_operatinghourid" to="msdyn_operatinghourid" link-type="inner" alias="ab">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
XMLCopy
<fetch>
<entity name="msdyn_operatinghour">
<link-entity name="queue" from="msdyn_operatinghourid" to="msdyn_operatinghourid" link-type="inner" alias="ab">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
オーバーフローアクション設定用 FetchXML
XMLCopy
<fetch>
<entity name="msdyn_overflowactionconfig">
<filter type="and">
<condition attribute="msdyn_overflowactionconfigid" operator="eq" uiname="QueueTransfer_caae99a1-dcc4-ed11-83ff-00224805c003 " uitype="msdyn_overflowactionconfig" value="{6D49F66F-68F3-ED11-8848-00224805C003}"/>
</filter>
</entity>
</fetch>
キューの決定契約の FetchXML
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューのデシジョン コントラクト
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_queuetype" entityname="bb" operator="eq" value="192350001"/>
<condition attribute="msdyn_isomnichannelqueue" entityname="bb" operator="eq" value="1"/>
<condition attribute="queueid" entityname="bb" operator="ne" uiname="Default entity queue" uitype="queue" value="{5a4b76b0-dab5-4717-9743-9490f2f822c6}"/>
</filter>
<filter type="and">
<condition attribute="msdyn_isomnichannelqueue" entityname="be" operator="eq" value="1"/>
<condition attribute="msdyn_queuetype" entityname="be" operator="eq" value="192350001"/>
<condition entityname="be" attribute="queueid" operator="ne" value="{5a4b76b0-dab5-4717-9743-9490f2f822c6}"/>
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="input">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb"/>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="output">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="be"/>
</link-entity>
</entity>
</fetch>
サンプル 2: プリキュー・オーバーフローが定義された単一レコード・キューのデシジョン・コントラクト
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="bb" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
<filter type="and">
<condition attribute="queueid" entityname="be" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="input">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb"/>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="output">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="be"/>
</link-entity>
</entity>
</fetch>
サンプル 3: プリキュー・オーバーフローが定義された複数のレコード・キューのデシジョン・コントラクト
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="bb" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
<filter type="and">
<condition attribute="queueid" entityname="be" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="input">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bb"/>
</link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="output">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="be"/>
</link-entity>
</entity>
</fetch>
キューの決定ルールセットの FetchXML
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューの決定ルールセット
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter type="and">
<condition attribute="msdyn_queuetype" operator="eq" value="192350001" />
<condition attribute="msdyn_isomnichannelqueue" operator="eq" value="1" />
<condition attribute="queueid" operator="ne" uiname="Default entity queue" uitype="queue" value="{5A4B76B0-DAB5-4717-9743-9490F2F822C6}" />
</filter>
</link-entity>
</entity>
</fetch>
サンプル 2: プリキュー オーバーフローが定義された単一レコード キューの決定ルールセット
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</entity>
</fetch>
サンプル 3: プリキュー オーバーフローが定義された複数のレコード キューの決定ルールセット
XMLCopy
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="queue" from="msdyn_prequeueoverflowrulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="am">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
受入ルールとレコード ワークストリームの構成を移行する
以下のセクションの手順を指定された順序で実行し、取込みルールと記録作業ストリームを移行元環境から移行先環境に移行します。
レコード ルーティング作業ストリームのソリューションの作成
- レコード ルーティング ワークストリームのソース環境から構成をエクスポートするソリューションを作成します。
- コマンド バーの 既存のボタンを追加 を使用して、必要なレコードをソリューションに追加します。
- ワークストリーム (msdyn_liveworkstream) テーブルを選択します。 作業ストリーム テーブルを追加すると、以下のテーブルの関連レコードが自動的にソリューションに追加されます:
- キャパシティ プロファイル (msdyn_capacityprofile) - これらのレコードは、Configuration Migration Tool を使用して移行する必要があります。
- マスター エンティティのルーティング構成 (msdyn_masterentityroutingconfiguration)。
- 取り込みルールとレコード作業ストリーム用の決定契約 (msdyn_decisioncontract)。
- 取り込みルールとレコード ワークストリームの決定ルール セット (msdyn_decisionruleset)。
- ルーティング構成 (msdyn_routingconfiguration)。
- ルーティング構成ステップ (msdyn_routingconfigurationstep)。
- ルールセット エンティティ マッピング (msdyn_rulesetdependencymapping)。
リレーションシップの追加
ルーティングされたレコードの一意の識別子に基づいて、ルーティング可能なオブジェクト関係を追加する必要があります。 これらのレコードは、統合ルーティングが有効になっているエンティティから生成され、msdyn_ocliveworkitem_email_msdyn_routableobjectid や msdyn_ocliveworkitem_incident_msdyn_routableobjectid など、少なくとも 1 つの作業ストリームが構成されている必要があります。
- ソリューション エディターに移動し、既存の追加を選択します
- 会話テーブルを選択します。
- すべてのオブジェクトを含めるオプションとテーブル メタデータを含めるオプションがオフになっていることを確認します。
-
RoutableObjectIdに オブジェクトの編集を選択します - ソリューションに追加された作業ストリームタイプに基づいて、必要なリレーションシップを選択します。