次の方法で共有


ソリューションを使用したレコード ルーティングの構成の移行

適用対象: Dynamics 365 Contact Center—埋め込み、Dynamics 365 Contact Center—スタンドアロン、Dynamics 365 Customer Service

ソリューションと構成移行ツールを使用して、レコードのルーティングの構成をソース環境からターゲット環境に移行します。

ソリューションまたは Configuration Migration Tool の使用方法については、Power Platform の ALM に使用するツールとアプリの概要を参照してください。

前提条件

次の前提要件を満たす必要があります。

  • チャネル構成の移行を実行するユーザーに次の権限があることを確認してください。
    • ソース環境からソリューションをエクスポートする方法。
    • 対象の環境にソリューションをインポートする方法。
    • 構成移行ツールを使用してソース環境から移行されたすべてのテーブルに対する読み取りアクセス許可。
    • 構成移行ツールを使用して移行先環境に移行されたすべてのテーブルに対する完全なアクセス許可。
  • 移行元環境で、以下のようなテーブルや列が参照されている場合、移行を進める前に移行先環境にそれらが存在することを確認してください:
    • カスタム テーブル (エンティティ)
    • 列 (属性)
    • 顧客間関係
    • 選択肢 (オプション セット)
    • 検索値

ルーティング構成の移行手順の記録

構成データを正常に移行するためには、記載されている順番に手順を実行する必要があります:

  1. セッション テンプレートと通知テンプレートの構成の移行する。
  2. スキルベースのルーティング ルールセットの構成の移行する。
  3. 新しいキャパシティ プロファイルの構成の移行する。
  4. SMS キューの構成を移行する。
  5. 受入ルールと作業ストリームの構成を移行する。

セッション テンプレートと通知テンプレートの構成の移行

以下のコンポーネントがセットアップで利用可能な場合は、ソリューションに追加し、ソリューションをエクスポートしてターゲット環境にインポートします。

  1. 次のコンポーネントをソリューションに追加し、ソース環境からエクスポートします:

    • エージェント スクリプト (msdyn_productivityagentscripts)
    • エージェント スクリプト ステップ (msdyn_productivityagentscriptsteps)
    • アプリケーション タブ テンプレート (msdyn_applicationtabtemplates)
    • 通知フィールド (msdyn_notificationfields)
    • 通知テンプレート (msdyn_notificationtemplates)
    • マクロ (processes)
    • セッション テンプレート (msdyn_sessiontemplates)
    • テンプレート パラメータ (msdyn_templateparameters)
  2. ターゲット環境でソリューションをインポートします。

ソリューションの詳細については、Power Apps のソリューションにアクセスしてください。

スキルベースのルーティング ルールセットの構成の移行

統合ルーティング セットアップでスキルベースのルーティング ルール セットが使用されている場合は、対応する構成を移行する手順を実行します。

必要なレコードをすべて取得するためのサンプル スキーマについては、スキルベースのルーティング構成のサンプル スキーマを参照してください。

  1. 構成移行ツールを使用してスキーマを作成し、スキルベースのルーティング構成のためにソース組織からデータをエクスポートします。

    • エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
    • 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。

    重要

    必要に応じて、ターゲット組織に bookableresourcecharacteristictype (グローバルオプション セット値) を手動で作成する必要があります。

    エンティティ表示名 (論理名) 属性表示名 (論理名) FetchXML を使用してレコードをフィルタリングする
    特徴的 (特徴的)
    • 特徴タイプ (characteristictype)
    • 特徴的 (characteristicid)
    • 説明 (description)
    • 名前 (name)
    モデル (ratingmodel)
    • 最大評価値 (maxratingvalue)
    • 最小評価値 (minratingvalue)
    • 名前 (name)
    • 評価モデル (ratingmodelid)
    評価値 (ratingvalue)
    • 名前 (name)
    • モデル (ratingmodel)
    • 評価値 (ratingvalueid)
    • 値 (value)
  2. スキーマを生成して保存します。

  3. データをエクスポートし、圧縮 (zip) ファイルを生成します。

  4. 構成移行ツールを使用し、圧縮ファイルを使用してターゲット組織にデータをインポートするオプションを選択します。

容量プロファイル構成の移行

統合ルーティング セットアップで容量プロファイルが構成されている場合、スキルベースのルーティング ルール セットが使用されている場合は、対応する構成を移行する手順を実行します。

必要なレコードをすべて取得するサンプルスキーマの場合、容量プロファイルのサンプル スキーマを参照してください。

  1. 構成移行ツールを使用してスキーマを作成し、スキルベースのルーティング構成のためにソース組織からデータをエクスポートします。

    • エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
    • 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。
    • 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>
  2. スキーマを生成して保存します。

  3. データをエクスポートし、圧縮 (zip) ファイルを生成します。

  4. 構成移行ツールを使用し、ターゲット組織にデータをインポートするオプションを選択します。

レコード キューの構成データの移行

構成移行ツールを使用してスキーマを作成し、レコード キュー構成のためにソース組織からデータをエクスポートします。

  • エンティティ表示名: スキーマを作成する際に、表に記載されている順序でエンティティを選択します。
  • 属性表示名: 次の表で定義された属性を選択することをお勧めします。 作成者、作成日、変更者、変更日、所有者など、すぐに使用できるシステム定義の属性を選択する必要はありません。 必要に応じて、カスタム属性を選択できます。
  • 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)
  • 割り当て入力契約 ID (msdyn_assignmentinputcontractid)
  • 割り当て戦略 (msdyn_assignmentstrategy)
  • 説明 (description)
  • は規定キューです (msdyn_isdefaultqueue)
  • はオムニチャネル キューです (msdyn_isomnichannelqueue)
  • 名前 (name)
  • 優先度 (msdyn_priority)
  • キュー (queueid)
  • キュー タイプ (msdyn_queuetype)
  • タイプ (queueviewtype)
  • 営業時間 (msdyn_operatinghourid)
  • プリキュー オーバーフロー ルールセット (msdyn_prequeueoverflowrulesetid)
サンプル 1: レコードのすべてのキュー

サンプル 2: レコードの単一キュー

サンプル 3: レコードの複数キュー
意思決定契約 (msdyn_decisioncontract)
  • 契約定義 (msdyn_contractdefinition)
  • 意思決定契約 (msdyn_decisioncontractid)
  • 名前 (msdyn_name)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: すべてのレコード キューの意思決定契約

サンプル 2: 単一レコード キューの意思決定契約

サンプル 3: 複数レコード キューの意思決定契約
選択基準を使用しない決定ルールセット (msdyn_decisionruleset)
  • AI Builder モデル (msdyn_aibmodelid)
  • 作成モード (msdyn_authoringmode)
  • 意思決定ルール セット (msdyn_decisionrulesetid)
  • Description (msdyn_description)
  • 入力コントラクト (msdyn_inputcontractid)
  • は入力コレクションです (msdyn_isinputcollection)
  • ML モデル タイプ (msdyn_mlmodeltype)
  • 名前 (msdyn_name)
  • 出力契約 (msdyn_outputcontractid)
  • ルール セット定義 (msdyn_rulesetdefinition)
  • ルール セット タイプ (msdyn_rulesettype)
  • 一意の名前 (msdyn_uniquename)
  • ルールセットの FetchXML (msdyn_fetchxml)
サンプル 1: 選択基準を定義していない、すべてのレコード キューに対する決定ルールセット

サンプル 2: 選択基準を定義していない、単一レコード キューに対する決定ルールセット

サンプル 3: 選択基準を定義していない、複数のレコード キューに対する決定ルールセット
割り当て構成 (msdyn_assignmentconfiguration)
  • 割り当て構成 (msdyn_assignmentconfigurationid)
  • 説明 (msdyn_description)
  • はアクティブな構成です (msdyn_isactiveconfiguration)
  • 名前 (msdyn_name)
  • キュー (msdyn_queueid)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: すべてのレコード キューの割り当て構成

サンプル 2: 単一レコード キューの割り当て構成

サンプル 3: 複数レコード キューの割り当て構成
選択条件を使用しない割り当て構成ステップ (msdyn_assignmentconfigurationstep)
  • 割り当て構成 (msdyn_assignmentconfigurationid)
  • 割り当て構成ステップ (msdyn_assignmentconfigurationstepid)
  • は既定のルールセットです (msdyn_isdefaultruleset)
  • 名前 (msdyn_name)
  • ルールセット (msdyn_rulesetid)
  • ステップ順序 (msdyn_steporder)
  • ステップ タイプ (msdyn_type)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: 選択基準を定義していない、すべてのレコード キューに対する割り当て構成ステップ

サンプル 2: 選択基準を定義していない、単一のレコード キューに対する割り当て構成ステップ

サンプル 3: 選択基準を定義していない、複数のレコード キューに対する割り当て構成ステップ
営業時間 (msdyn_operatinghour)
  • 説明 (msdyn_description)
  • 名前 (msdyn_name)
  • 営業時間 (msdyn_operatinghourid)
  • 状態 (statecode)
  • ステータス (statuscode)
サンプル 1: すべてのレコード キューの営業時間

サンプル 2: 単一レコード キューの営業時間

サンプル 3: 複数のレコード キューの営業時間
オーバーフローアクション構成 (msdyn_overflowactionconfig)
  • 名前 (msdyn_name)
  • オーバーフローアクション構成 (msdyn_overflowactionconfigid)
  • オーバーフローアクション データ (msdyn_overflowactiondata)
  • オーバーフローアクション タイプ (msdyn_overflowactiontype)
  • 状態 (statecode)
  • ステータス (statuscode)
サンプル 1: 特定のレコードにフィルターされたオーバーフロー アクション構成

ルールセットのエクスポートとインポートを行う際は、次の手順を実行します。

  1. スキーマを生成して保存します。

  2. データをエクスポートし、圧縮 (.zip) ファイルを生成します。

  3. .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 に置き換えます。

  4. 抽出されたコンテンツを再パッケージ化します。

  5. Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。

注意

稼働時間テーブルをターゲット環境にインポートした後、稼働時間テーブルに関連付けられたカレンダー項目を正しく設定します。

すべての必要なレコードを取得するサンプル スキーマについては、レコード キューの手順 1 のサンプル スキーマにアクセスしてください。

ステップ 2: 選択基準を定義してルールセットのエクスポートとインポートを行う

次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。

エンティティ表示名 (論理名) 属性表示名 (論理名) FetchXML を使用してレコードをフィルタリングする
選択基準を使用した決定ルールセット (msdyn_decisionruleset)
  • AI Builder モデル (msdyn_aibmodelid)
  • 作成モード (msdyn_authoringmode)
  • 意思決定ルール セット (msdyn_decisionrulesetid)
  • Description (msdyn_description)
  • 入力コントラクト (msdyn_inputcontractid)
  • は入力コレクションです (msdyn_isinputcollection)
  • ML モデル タイプ (msdyn_mlmodeltype)
  • 名前 (msdyn_name)
  • 出力契約 (msdyn_outputcontractid)
  • ルール セット定義 (msdyn_rulesetdefinition)
  • ルール セット タイプ (msdyn_rulesettype)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: 選択基準を定義した、すべてのレコード キューに対する決定ルールセット

サンプル 2: 選択基準を定義した、単一レコード キューに対する決定ルールセット

サンプル 3: 選択基準を定義した、複数のレコード キューに対する決定ルールセット
選択条件を使用した割り当て構成ステップ (msdyn_assignmentconfigurationstep)
  • 割り当て構成 (msdyn_assignmentconfigurationid)
  • 割り当て構成ステップ (msdyn_assignmentconfigurationstepid)
  • は既定のルールセットです (msdyn_isdefaultruleset)
  • 名前 (msdyn_name)
  • ルールセット (msdyn_rulesetid)
  • ステップ順序 (msdyn_steporder)
  • ステップ タイプ (msdyn_type)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: 選択基準を定義した、すべてのレコード キューに対する割り当て構成ステップ

サンプル 2: 選択基準を定義した、単一のレコード キューに対する割り当て構成ステップ

サンプル 3: 選択基準を定義した、複数のレコード キューに対する割り当て構成ステップ

ルールセットのエクスポートとインポートを行う際は、次の手順を実行します。

  1. スキーマを生成して保存します。

  2. データをエクスポートし、圧縮 (.zip) ファイルを生成します。

  3. .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 に置き換えます。

  4. 抽出されたコンテンツを再パッケージ化します。

  5. Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。

すべての必要なレコードを取得するサンプル スキーマについては、レコード キューの手順 2 のサンプル スキーマにアクセスしてください。

手順 3: 事前キュー オーバーフロー ルールセット構成をエクスポートおよびインポートする

キューのオーバーフロー オーバーライド メソッドを使用していない場合は、この手順をスキップしてください。

次のテーブルは、エンティティと、対応する FetchXML サンプルについて概要を示します。

エンティティ表示名 (論理名) 属性表示名 (論理名) FetchXML を使用してレコードをフィルタリングする
キュー (queue)
  • 割り当て入力契約 ID (msdyn_assignmentinputcontractid)
  • 割り当て戦略 (msdyn_assignmentstrategy)
  • 説明 (description)
  • 既定のキュー (msdyn_isdefaultqueue)
  • オムニチャネル キュー (msdyn_isomnichannelqueue)
  • 名前 (name)
  • 優先度 (msdyn_priority)
  • Queue (queueid)
  • キューの種類 (msdyn_queuetype)
  • 型 (queueviewtype)
  • 営業時間 (msdyn_operatinghourid)
  • プリキュー オーバーフロー ルールセット (msdyn_prequeueoverflowrulesetid)
サンプル 1: レコードのすべてのキュー

サンプル 2: レコードの単一キュー

サンプル 3: レコードの複数キュー
意思決定契約 (msdyn_decisioncontract)
  • コントラクト定義 (msdyn_contractdefinition)
  • 意思決定契約 (msdyn_decisioncontractid)
  • 名前 (msdyn_name)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューの決定コントラクト

サンプル 2: プリキュー オーバーフローが定義された単一レコード キューの決定コントラクト

サンプル 3: プリキュー オーバーフローが定義された複数のレコード キューの決定コントラクト
選択基準を使用した決定ルールセット (msdyn_decisionruleset)
  • AI Builder モデル (msdyn_aibmodelid)
  • 作成モード (msdyn_authoringmode)
  • 決定ルール セット (msdyn_decisionrulesetid)
  • Description (msdyn_description)
  • 入力コントラクト (msdyn_inputcontractid)
  • 入力コレクションです (msdyn_isinputcollection)
  • ML モデル タイプ (msdyn_mlmodeltype)
  • 名前 (msdyn_name)
  • 出力契約 (msdyn_outputcontractid)
  • ルール セット定義 (msdyn_rulesetdefinition)
  • ルール セット タイプ (msdyn_rulesettype)
  • 一意の名前 (msdyn_uniquename)
サンプル 1: プリキュー オーバーフローが定義されているすべてのレコード キューの決定ルールセット

サンプル 2: プリキュー オーバーフローが定義された単一レコード キューの決定ルールセット

サンプル 3: プリキュー オーバーフローが定義された複数のレコード キューの決定ルールセット

事前キュールールセットをエクスポートおよびインポートするには、次の手順を実行します。

  1. スキーマを生成して保存します。

  2. データをエクスポートし、圧縮された .zip ファイルを生成します。

  3. .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 に置き換えます。

  4. 抽出したコンテンツを .zip ファイルに再パッケージ化します。

  5. Configuration Migration tool を使用し、データをインポートするオプションを選択し、圧縮ファイルを選択します。

サンプル スキーマで必要なすべてのレコードを取得するには、「 オーバーフローのサンプル スキーマ」を参照してください。

キューの FetchXML

サンプル 1: すべてのキュー

<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>

サンプル 2: 単一キュー

<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>

サンプル 3: 複数のキュー

<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

サンプル 1: すべてのキューの決定契約

<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>  

サンプル 2: 単一キューの決定契約

<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> 

サンプル 3: 複数のキューの決定契約

<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

サンプル 1: すべてのキューの割り当て構成

<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> 

サンプル 2: 単一キューの割り当て構成

<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> 

サンプル 3: 複数キューの割り当て構成

<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>

サンプル 2: 選択基準のない単一キューの割り当て構成手順

		<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>

サンプル 3: 選択基準のない複数キューの割り当て構成手順

		<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>

サンプル 2: 選択基準のある単一キューの割り当て構成手順

		<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>

サンプル 3: 選択基準のある複数キューの割り当て構成手順

		<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

サンプル 1: すべてのキューの営業時間

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>

サンプル 2: 単一のキューの営業時間

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>

サンプル 3: 複数のキューの営業時間

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>

受入ルールとレコード ワークストリームの構成を移行する

以下のセクションの手順を指定された順序で実行し、取込みルールと記録作業ストリームを移行元環境から移行先環境に移行します。

レコード ルーティング作業ストリームのソリューションの作成

  1. レコード ルーティング ワークストリームのソース環境から構成をエクスポートするソリューションを作成します。
  2. コマンド バーの 既存のボタンを追加 を使用して、必要なレコードをソリューションに追加します。
  3. ワークストリーム (msdyn_liveworkstream) テーブルを選択します。 作業ストリーム テーブルを追加すると、以下のテーブルの関連レコードが自動的にソリューションに追加されます:
  • キャパシティ プロファイル (msdyn_capacityprofile) - これらのレコードは、Configuration Migration Tool を使用して移行する必要があります。
  • マスター エンティティのルーティング構成 (msdyn_masterentityroutingconfiguration)。
  • 取り込みルールとレコード作業ストリーム用の決定契約 (msdyn_decisioncontract)。
  • 取り込みルールとレコード ワークストリームの決定ルール セット (msdyn_decisionruleset)。
  • ルーティング構成 (msdyn_routingconfiguration)。
  • ルーティング構成ステップ (msdyn_routingconfigurationstep)。
  • ルールセット エンティティ マッピング (msdyn_rulesetdependencymapping)。

リレーションシップの追加

ルーティングされたレコードの一意の識別子に基づいて、ルーティング可能なオブジェクト関係を追加する必要があります。 これらのレコードは、統合ルーティングが有効になっているエンティティから生成され、msdyn_ocliveworkitem_email_msdyn_routableobjectidmsdyn_ocliveworkitem_incident_msdyn_routableobjectid など、少なくとも 1 つの作業ストリームが構成されている必要があります。

  1. ソリューション エディターに移動し、既存の追加を選択します
  2. 会話テーブルを選択します。
  3. すべてのオブジェクトを含めるオプションとテーブル メタデータを含めるオプションがオフになっていることを確認します。
  • RoutableObjectIdオブジェクトの編集を選択します
  • ソリューションに追加された作業ストリームタイプに基づいて、必要なリレーションシップを選択します。

次の手順

レコードの移行の検証

ソリューションを使用してチャネルの構成を移行する