Di chuyển dữ liệu cấu hình cho bản ghi
Bài viết này bao gồm các quy trình di chuyển dữ liệu cấu hình cho các bản ghi. Bạn phải di chuyển dữ liệu theo thứ tự:
- bộ quy tắc định tuyến dựa trên kỹ năng
- hồ sơ năng lực
- hàng đợi
- quy tắc thu nạp
- luồng công việc
Các quy trình bao gồm các bảng có thông tin về thực thể và các sơ đồ mẫu tương ứng cho từng cấu hình.
Di chuyển cấu hình bằng giải pháp
Bạn có thể sử dụng các giải pháp để di chuyển các mục cấu hình nhất định giữa các môi trường. Nếu cấu hình trong thiết lập định tuyến hợp nhất của bạn có các mục sau, chúng có thể được di chuyển bằng giải pháp.
- Thêm các thành phần vào giải pháp và xuất
- Kịch bản cho tổng đài viên (msdyn_productivityagentscripts)
- Kịch bản cho tổng đài viên bước (msdyn_productivityagentscriptsteps)
- Mẫu tab ứng dụng (msdyn_applicationtabtemplates)
- Trường thông báo (msdyn_notificationfields)
- Mẫu thông báo (msdyn_notificationtemplates)
- Macro (quy trình)
- Mẫu phiên (msdyn_sessiontemplates)
- Tham số mẫu (msdyn_templateparameters)
- Nhập giải pháp vào môi trường đích
Di chuyển cấu hình cho các bộ tuy tắc định tuyến dựa trên kỹ năng
Nếu bộ quy tắc định tuyến dựa trên kỹ năng được sử dụng trong thiết lập định tuyến hợp nhất của bạn, hãy thực hiện các bước để di chuyển cấu hình tương ứng.
Để sơ đồ mẫu nhận được tất cả các bản ghi cần thiết, xem Sơ đồ mẫu cho cấu hình định tuyến dựa trên kỹ năng.
Sử dụng công cụ Di chuyển cấu hình để tạo sơ đồ và xuất dữ liệu từ tổ chức nguồn cho cấu hình định tuyến dựa trên kỹ năng.
- Tên hiển thị của thực thể: Khi bạn tạo sơ đồ, hãy chọn các thực thể theo trình tự được đề cập trong bảng.
- Tên hiển thị của thuộc tính: Chúng tôi khuyên bạn nên chọn các thuộc tính được xác định trong bảng sau. Bạn không cần phải chọn các thuộc tính sẵn dùng, do hệ thống xác định, như Người tạo, Ngày tạo, Người sửa đổi, Ngày sửa đổi và Chủ sở hữu. Bạn có thể chọn các thuộc tính tùy chỉnh, nếu cần.
Quan trọng
Bạn phải tự tạo bookableresourcecharacteristictype (Giá trị bộ tùy chọn toàn cầu) trong tổ chức đích, nếu cần.
Tên hiển thị thực thể (Tên lô-gic) Tên hiển thị thuộc tính: (Tên logic) Dùng FetchXML để lọc bản ghi Đặc trưng (đặc trưng) - Loại đặc trưng (characteristictype)
- Đặc trưng (characteristicid)
- Mô tả (mô tả)
- Tên (tên)
Mô hình xếp hạng (ratingmodel) - Giá trị xếp hạng tối đa (maxratingvalue)
- Giá trị xếp hạng tối thiểu (minratingvalue)
- Tên (tên)
- Mô hình xếp hạng (ratingmodelid)
Giá trị xếp hạng (ratingvalue) - Tên (tên)
- Mô hình xếp hạng (ratingmodel)
- Giá trị xếp hạng (ratingvalueid)
- Giá trị (giá trị)
Tạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Sử dụng công cụ Di chuyển cấu hình và chọn tùy chọn để nhập dữ liệu vào tổ chức đích bằng tệp nén.
Di chuyển cấu hình cho hồ sơ năng lực
Nếu bạn đã định cấu hình cấu hình năng lực trong thiết lập định tuyến hợp nhất của mình, hãy thực hiện các bước để di chuyển cấu hình tương ứng.
Để sơ đồ mẫu nhận được tất cả các bản ghi cần thiết, xem Sơ đồ mẫu cho cấu hình năng lực.
Sử dụng công cụ Di chuyển cấu hình để tạo sơ đồ và xuất dữ liệu ở tổ chức nguồn cho cấu hình hồ sơ năng lực.
- Tên hiển thị của thực thể: Khi bạn tạo sơ đồ, chọn các thực thể theo trình tự giống như được đề cập trong bảng.
- Tên hiển thị của thuộc tính: Chúng tôi khuyên bạn nên chọn các thuộc tính được xác định trong bảng sau. Bạn không cần phải chọn các thuộc tính sẵn dùng do hệ thống xác định, như Người tạo, Ngày tạo, Người sửa đổi, Ngày sửa đổi và Chủ sở hữu. Bạn có thể chọn các thuộc tính tùy chỉnh, nếu cần.
- Sử dụng FetchXML để lọc bản ghi: Đối với mỗi thực thể, hãy sử dụng truy vấn thích hợp FetchXML được đề cập trong bảng sau đây để nhận đơn, nhiều hoặc tất cả các bản ghi dựa trên yêu cầu của bạn. Đối với một hoặc nhiều bản ghi, bạn cần sử dụng tổ chức nguồn để có được tên chính xác trong uiname và GUID trong giá trị. Nếu được yêu cầu, bạn có thể sử dụng mục menu TÌM KIẾM NÂNG CAO để xây dựng truy vấn thích hợp FetchXML .
- Định cấu hình cài đặt nhập:
Đối với thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn hộp kiểm Không cập nhật bản ghi hiện có.
Đối với mọi thực thể, bao gồm cả thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn trường khóa chính của thực thể sẽ được sử dụng làm trường để so sánh khi cập nhật. Một ví dụ cho Tài khoản như sau.
Lưu ý
Truy vấn mẫu được liệt kê trong bảng sau đây nhận được một hoặc nhiều bản ghi. Truy vấn đã coi thực thể là sự cố và nhiệm vụ. Dựa trên yêu cầu của bạn, hãy đảm bảo rằng bạn cập nhật tên logic thực thể trong truy FetchXML vấn.
Bảng sau đây tóm tắt các thực thể và mẫu tương ứng FetchXML .
Tên hiển thị thực thể (Tên lô-gic) Tên hiển thị thuộc tính: (Tên logic) Dùng FetchXML để lọc bản ghi Hồ sơ năng lực (msdyn_capacityprofile) - Gán khối (msdyn_blockassignment)
- Hồ sơ năng lực (msdyn_capacityprofileid)
- Đơn vị tối đa mặc định (msdyn_defaultmaxunits) Tên (msdyn_name)
- Đặt lại khoảng thời gian(msdyn_resetduration)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Cho tất cả bản ghi hồ sơ năng lực <fetch>
<entity name="msdyn_capacityprofile">
<filter type="and">
<condition attribute="ismanaged" operator="eq" value="0" />
</filter>
</entity>
</fetch>
Mẫu 2: Cho một bản ghi hồ sơ năng lực
<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>
Mẫu 3: Cho nhiều bản ghi hồ sơ năng lực
<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>
Tạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Sử dụng công cụ Di chuyển cấu hình và chọn tùy chọn để nhập dữ liệu vào tổ chức đích.
Di chuyển cấu hình cho hàng đợi bản ghi
Sử dụng công cụ Di chuyển cấu hình để tạo sơ đồ và xuất dữ liệu từ tổ chức nguồn cho cấu hình hàng đợi bản ghi.
- Tên hiển thị của thực thể: Khi bạn tạo sơ đồ, chọn các thực thể theo trình tự giống như được đề cập trong bảng.
- Tên hiển thị của thuộc tính: Chúng tôi khuyên bạn nên chọn các thuộc tính được xác định trong bảng sau. Bạn không cần phải chọn các thuộc tính sẵn dùng do hệ thống xác định, như Người tạo, Ngày tạo, Người sửa đổi, Ngày sửa đổi và Chủ sở hữu. Bạn có thể chọn các thuộc tính tùy chỉnh, nếu cần.
- Sử dụng FetchXML để lọc bản ghi: Đối với mỗi thực thể, hãy sử dụng truy vấn thích hợp FetchXML được đề cập trong bảng sau đây để nhận đơn, nhiều hoặc tất cả các bản ghi dựa trên yêu cầu của bạn. Đối với một hoặc nhiều bản ghi, bạn cần sử dụng tổ chức nguồn để có được tên chính xác trong uiname và GUID trong giá trị. Nếu được yêu cầu, bạn có thể sử dụng mục menu TÌM KIẾM NÂNG CAO để xây dựng truy vấn thích hợp FetchXML .
- Định cấu hình cài đặt nhập:
Đối với thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn hộp kiểm Không cập nhật bản ghi hiện có.
Đối với mọi thực thể, bao gồm cả thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn trường khóa chính của thực thể sẽ được sử dụng làm trường để so sánh khi cập nhật. Một ví dụ cho Tài khoản như sau.
Lưu ý
Truy vấn mẫu được liệt kê trong bảng sau đây nhận được một hoặc nhiều bản ghi. Truy vấn đã coi thực thể là sự cố và nhiệm vụ. Dựa trên yêu cầu của bạn, hãy đảm bảo rằng bạn cập nhật tên logic thực thể trong truy FetchXML vấn.
Nếu bạn đang sử dụng các phương pháp gán sẵn dùng cho hàng đợi, như năng lực cao nhất và quay vòng tròn, hãy bỏ qua các thực thể sau:
- Bộ quy tắc quyết định
- Cấu hình gán
- Bước cấu hình gán
Bộ quy tắc gán phải có sẵn trong hệ thống trước khi công cụ Di chuyển Cấu hình nhập tiêu chí chọn. Do đó, bạn cần thực hiện các bước sau theo thứ tự được chỉ định để di chuyển cấu hình cho hàng đợi bản ghi:
Quan trọng
- Đối với mỗi lần nhập bản ghi hàng đợi, bạn phải tạo bản ghi hàng đợi mới hoặc cập nhật bản ghi hàng đợi hiện có. Bạn không được kết hợp các hành động trong cùng một lần nhập dữ liệu.
- Khi tất cả các bản ghi trong data.xml của thực thể hàng đợi là để tạo, hãy đảm bảo rằng dòng sau có trong schema.xml:
<field displayname="Queue type" name="msdyn_queuetype" type="optionsetvalue" customfield="true"/>
và dữ liệu tương ứng cũng sẽ có trường cho msdyn_queuetype. - Khi tất cả các bản ghi trong data.xml của thực thể hàng đợi là để Cập Nhật, hãy đảm bảo rằng bạn loại bỏ dòng sau trong schema.xml:
<field displayname="Queue type" name="msdyn_queuetype" type="optionsetvalue" customfield="true"/>
và tương ứng dữ liệu cũng sẽ không có trường đó cho msdyn_queuetype. - Khi hàng đợi mà bạn muốn di chuyển đã đặt điều kiện tràn, trước tiên bạn phải xuất và nhập bộ quy tắc quyết định. Trình tự di chuyển sẽ như sau:
- Hợp đồng quyết định
- Bộ quy tắc quyết định
- Hàng
- Cấu hình nhiệm vụ
- Cấu hình gán bước không có tiêu chí lựa chọn
- Giờ hoạt động
- Hành động tràn
- Bạn không thể di chuyển mục Lịch được liên kết với thực thể Giờ hoạt động. Bạn sẽ cần đặt nó một cách chính xác sau khi nhập thực thể Giờ hoạt động vào môi trường đích.
Bước 1: Bộ quy tắc xuất nhập khẩu không có tiêu chí lựa chọn
Bảng sau đây tóm tắt các thực thể và mẫu tương ứng FetchXML .
S. Không. | Tên hiển thị thực thể (Tên lô-gic) | Tên hiển thị thuộc tính: (Tên logic) | Dùng FetchXML để lọc bản ghi |
---|---|---|---|
1. | Hàng đợi (hàng đợi) |
|
Mẫu 1: Tất cả hàng đợi cho bản ghi Mẫu 2: Hàng đợi đơn cho các bản ghi Mẫu 3: Nhiều hàng đợi cho bản ghi |
2. | Quyết định hợp đồng (msdyn_decisioncontract) |
|
Mẫu 1: Hợp đồng quyết định cho tất cả hàng đợi bản ghi Mẫu 2: Hợp đồng quyết định cho một hàng đợi bản ghi Mẫu 3: Hợp đồng quyết định cho nhiều hàng đợi bản ghi |
3. | Bộ quy tắc quyết định không có tiêu chí lựa chọn (msdyn_decisionruleset) |
|
Mẫu 1: Bộ quy tắc quyết định cho tất cả các hàng đợi bản ghi mà không xác định tiêu chí lựa chọn Mẫu 2: Bộ quy tắc quyết định cho một hàng đợi bản ghi duy nhất mà không xác định tiêu chí lựa chọn Mẫu 3: Bộ quy tắc quyết định cho nhiều hàng đợi bản ghi mà không xác định tiêu chí lựa chọn |
4. | Cấu hình gán (msdyn_assignmentconfiguration) |
|
Mẫu 1: Cấu hình gán cho tất cả hàng đợi bản ghi Mẫu 2: Cấu hình gán cho một hàng đợi bản ghi Mẫu 3: Cấu hình gán cho nhiều hàng đợi bản ghi |
5. | Cấu hình Nhiệm vụ bước không có tiêu chí lựa chọn (msdyn_assignmentconfigurationstep) |
|
Mẫu 1: Cấu hình gán bước cho tất cả các hàng đợi bản ghi mà không xác định tiêu chí chọn Mẫu 2: Cấu hình gán bước cho một hàng đợi bản ghi duy nhất mà không xác định tiêu chí lựa chọn Mẫu 3: Cấu hình gán bước cho nhiều hàng đợi bản ghi mà không xác định tiêu chí chọn |
6. | Giờ hoạt động (msdyn_operatinghour) |
|
Mẫu 1: Giờ hoạt động cho tất cả các hàng đợi bản ghi Mẫu 2: Giờ hoạt động cho một hàng đợi bản ghi duy nhất Mẫu 3: Giờ hoạt động cho nhiều hàng đợi bản ghi |
7. | Cấu hình hành động tràn(msdyn_overflowactionconfig) |
|
Mẫu 1: Cấu hình hành động tràn được lọc theo các bản ghi cụ thể |
Thực hiện các bước sau để xuất và nhập các bộ quy tắc:
Tạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Giải nén tệp zip, mở tệp data.xml có trong thư mục đã giải nén và thực hiện như sau:
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý GUID của
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_assignmentoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý GUID của
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_selectionruleoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong tổ chức nguồn và đích, chạy lệnh gọi API OData sau và lưu ý GUID của msdyn_decisioncontractid.
https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetinput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong tổ chức nguồn và đích, chạy lệnh gọi API OData sau và lưu ý GUID của msdyn_decisioncontractid.
https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_queueoverflowrulesetoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Đóng gói lại nội dung giải nén.
Sử dụng công cụ Configuration Migration , chọn tùy chọn để nhập dữ liệu rồi sau đó chọn tệp nén.
Lưu ý
Đặt Mục Lịch được liên kết với thực thể Giờ hoạt động một cách chính xác sau khi bạn nhập thực thể Giờ hoạt động vào môi trường đích.
Để biết lược đồ mẫu có được tất cả các bản ghi cần thiết, hãy xem Lược đồ mẫu cho hàng đợi bản ghi bước 1.
Bước 2: Xuất và nhập các bộ quy tắc với tiêu chí lựa chọn được xác định
Bảng sau đây tóm tắt các thực thể và mẫu tương ứng FetchXML .
S. Không. | Tên hiển thị thực thể (Tên lô-gic) | Tên hiển thị thuộc tính: (Tên logic) | Dùng FetchXML để lọc bản ghi |
---|---|---|---|
1. | Bộ quy tắc quyết định với tiêu chí lựa chọn (msdyn_decisionruleset) |
|
Mẫu 1: Bộ quy tắc quyết định cho tất cả hàng đợi bản ghi với tiêu chí lựa chọn được xác định Mẫu 2: Bộ quy tắc quyết định cho một hàng đợi bản ghi có tiêu chí lựa chọn được xác định Mẫu 3: Bộ quy tắc quyết định cho nhiều hàng đợi bản ghi với tiêu chí lựa chọn được xác định |
2. | Cấu hình bài tập bước với tiêu chí lựa chọn (msdyn_taskmentconfigurationstep) |
|
Mẫu 1: Cấu hình gán bước cho tất cả hàng đợi bản ghi đã xác định tiêu chí lựa chọn Mẫu 2: Cấu hình gán bước cho một hàng đợi bản ghi với tiêu chí lựa chọn được xác định Mẫu 3: Cấu hình gán bước cho nhiều hàng đợi bản ghi với tiêu chí lựa chọn được xác định |
Thực hiện các bước sau để xuất và nhập các bộ quy tắc:
Tạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Giải nén tệp zip, mở tệp data.xml có trong thư mục đã giải nén và thực hiện như sau:
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý GUID của
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_assignmentoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý GUID của
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_selectionruleoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Đóng gói lại nội dung giải nén.
Sử dụng công cụ Configuration Migration , chọn tùy chọn để nhập dữ liệu rồi sau đó chọn tệp nén.
Để biết lược đồ mẫu có được tất cả các bản ghi cần thiết, hãy xem Lược đồ mẫu cho hàng đợi bản ghi bước 2.
FetchXML cho hàng đợi
Mẫu 1: Tất cả hàng đợi cho bản ghi
<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>
Mẫu 2: Hàng đợi đơn cho các bản ghi
<fetch>
<entity name="queue">
<filter type="and">
<condition attribute="queueid" operator="eq" uiname="Test Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</entity>
</fetch>
Mẫu 3: Nhiều hàng đợi cho bản ghi
<fetch>
<entity name="queue">
<filter type="and">
<condition attribute="queueid" operator="in">
<value uiname="Test Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</entity>
</fetch>
FetchXML cho chủ thể hợp đồng quyết định
Mẫu 1: Hợp đồng quyết định cho tất cả hàng đợi bản ghi
<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>
Mẫu 2: Hợp đồng quyết định cho một hàng đợi bản ghi
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="aw" operator="eq" uiname="Test Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
<filter type="and">
<condition attribute="queueid" entityname="be" operator="eq" uiname="Test Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
<filter type="and">
<condition attribute="queueid" entityname="bm" operator="eq" uiname="Test Record 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>
Mẫu 3: Hợp đồng quyết định cho nhiều hàng đợi bản ghi
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="queueid" entityname="aw" operator="in">
<value uiname="Test Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record 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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record 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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record 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 cho thực thể bộ quy tắc quyết định cho hàng đợi
Mẫu 1: Bộ quy tắc quyết định cho tất cả hàng đợi bản ghi không có tiêu chí lựa chọn
<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>
Mẫu 2: Bộ quy tắc quyết định cho một hàng đợi bản ghi không có tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 3: Bộ quy tắc quyết định cho nhiều hàng đợi bản ghi không có tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
FetchXML cho thực thể cấu hình chuyển nhượng
Mẫu 1: Cấu hình gán cho tất cả hàng đợi bản ghi
<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>
Mẫu 2: Cấu hình gán cho một hàng đợi bản ghi
<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 Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 3: Cấu hình gán cho nhiều hàng đợi bản ghi
<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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
FetchXML để gán cấu hình bước thực thể
Mẫu 1: Cấu hình gán bước cho tất cả hàng đợi bản ghi không có tiêu chí lựa chọn
<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>
Mẫu 2: Cấu hình gán bước cho một hàng đợi bản ghi không có tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 3: Cấu hình gán bước cho nhiều hàng đợi bản ghi không có tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
FetchXML cho thực thể bộ quy tắc quyết định cho hàng đợi
Mẫu 1: Bộ quy tắc quyết định cho tất cả hàng đợi bản ghi với tiêu chí lựa chọn
<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>
Mẫu 2: Bộ quy tắc quyết định cho một hàng đợi bản ghi với tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 3: Bộ quy tắc quyết định cho nhiều hàng đợi bản ghi với tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>
FetchXML để gán cấu hình bước thực thể
Mẫu 1: Cấu hình gán bước cho tất cả hàng đợi bản ghi với tiêu chí lựa chọn
<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>
Mẫu 2: Cấu hình gán bước cho một hàng đợi bản ghi với tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue" value="{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 3: Cấu hình gán bước cho nhiều hàng đợi bản ghi với tiêu chí lựa chọn
<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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
FetchXML để biết cấu hình giờ hoạt động bước thực thể
Mẫu 1: Cấu hình Giờ hoạt động bước cho tất cả hàng đợi bản ghi
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>
Mẫu 2: Cấu hình Giờ hoạt động bước cho một hàng đợi bản ghi
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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 3: Cấu hình Giờ hoạt động bước cho nhiều hàng đợi bản ghi
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 Record Queue 1" uitype="queue">{A5ED5CAA-3A54-EC11-8F8F-000D3A1CBB9E}</value>
<value uiname="Test Record Queue 2" uitype="queue">{B2862B31-3B54-EC11-8F8F-000D3A1CBB9E}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
FetchXML cho cấu hình hành động tràn bước thực thể
Mẫu 1: Cấu hình Cấu hình hành động tràn bộ lọc bước cho một bản ghi cụ thể
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>
Di chuyển cấu hình cho các quy tắc nạp để định tuyến bản ghi
Điều kiện tiên quyết
Trước khi bạn di chuyển các quy tắc nạp, hãy kiểm tra những điều sau:
- Nếu tổ chức mục tiêu không có loại bản ghi mà bạn muốn nhập thì hãy xóa thuộc tính msdyn_rulesetdef định của thực thể msdyn_decisionruleset khỏi data.xml trước khi bạn nhập.
- Nếu tổ chức đích có loại bản ghi với cùng GUID thì hãy xóa thuộc tính msdyn_rulesetdef định của thực thể msdyn_decisionruleset khỏi data.xml trước khi bạn nhập.
- Nếu tổ chức mục tiêu có loại bản ghi với GUID khác thì hãy xóa loại bản ghi tổ chức mục tiêu trước khi bạn nhập.
Di chuyển cấu hình của quy tắc nạp
Sử dụng công cụ Di chuyển cấu hình để tạo sơ đồ và xuất dữ liệu từ tổ chức nguồn cho cấu hình hàng đợi định tuyến bản ghi.
- Tên hiển thị của thực thể: Khi bạn tạo sơ đồ, chọn các thực thể theo trình tự giống như được đề cập trong bảng.
- Tên hiển thị của thuộc tính: Chúng tôi khuyên bạn nên chọn các thuộc tính được xác định trong bảng sau. Bạn không cần phải chọn các thuộc tính sẵn dùng do hệ thống xác định, như Người tạo, Ngày tạo, Người sửa đổi, Ngày sửa đổi và Chủ sở hữu. Bạn có thể chọn các thuộc tính tùy chỉnh, nếu cần.
- Sử dụng FetchXML để lọc bản ghi: Đối với mỗi thực thể, hãy sử dụng truy vấn thích hợp FetchXML được đề cập trong bảng sau đây để nhận đơn, nhiều hoặc tất cả các bản ghi dựa trên yêu cầu của bạn. Đối với một hoặc nhiều bản ghi, bạn cần sử dụng tổ chức nguồn để có được tên chính xác trong uiname và GUID trong giá trị. Nếu được yêu cầu, bạn có thể sử dụng mục menu TÌM KIẾM NÂNG CAO để xây dựng truy vấn thích hợp FetchXML .
- Định cấu hình cài đặt nhập:
Đối với thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn hộp kiểm Không cập nhật bản ghi hiện có.
Đối với mọi thực thể, bao gồm cả thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn trường khóa chính của thực thể sẽ được sử dụng làm trường để so sánh khi cập nhật. Một ví dụ cho Tài khoản như sau.
Lưu ý
Truy vấn mẫu được liệt kê trong bảng sau đây nhận được một hoặc nhiều bản ghi. Truy vấn đã coi thực thể là sự cố và nhiệm vụ. Dựa trên yêu cầu của bạn, hãy đảm bảo rằng bạn cập nhật tên logic thực thể trong truy FetchXML vấn.
Bảng sau đây tóm tắt các thực thể và mẫu tương ứng FetchXML .
Số sê-ri Tên hiển thị thực thể (Tên lô-gic) Tên hiển thị thuộc tính: (Tên logic) Dùng FetchXML để lọc bản ghi 1. Cấu hình định tuyến thực thể chính (msdyn_masterentityroutingconfiguration) - Thực thể (msdyn_entitylogicalname)
- Cấu hình định tuyến thực thể chính (msdyn_masterentityroutingconfigurationid)
- Tên (msdyn_name)
- Bộ quy tắc (msdyn_rulesetid)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Cấu hình định tuyến thực thể chính cho bản ghi được định tuyến
Mẫu 2: Cấu hình định tuyến thực thể chính cho thực thể sự cố
Mẫu 3: Cấu hình định tuyến thực thể chính cho thực thể sự cố và nhiệm vụ2. Quyết định hợp đồng (msdyn_decisioncontract) - Định nghĩa hợp đồng (msdyn_contractdefinition)
- Quyết định hợp đồng (msdyn_decisioncontractid)
- Tên (msdyn_name)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Hợp đồng quyết định cho tất cả bản ghi được định tuyến
Mẫu 2: Hợp đồng quyết định đối với thực thể sự cố
Mẫu 3: Hợp đồng quyết định đối với thực thể sự cố và nhiệm vụ3. Bộ quy tắc quyết định (msdyn_decisionruleset) - Mô hình trình tạo AI (msdyn_aibmodelid)
- Chế độ tác giả (msdyn_authoringmode)
- Bộ quy tắc quyết định (msdyn_decisionrulesetid)
- Mô tả (msdyn_description)
- Hợp đồng đầu vào (msdyn_inputcontractid)
- Là bộ sưu tập đầu vào (msdyn_isinputcollection)
- Loại mô hình ML (msdyn_mlmodeltype)
- Tên (msdyn_name)
- Hợp đồng đầu ra (msdyn_inputcontractid)
- Định nghĩa bộ quy tắc (msdyn_rulesetdefinition)
- Loại bộ quy tắc (msdyn_rulesettype)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Bộ quy tắc quyết định cho tất cả các bản ghi được định tuyến
Mẫu 2: Bộ quy tắc quyết định đối với thực thể sự cố
Mẫu 3: Bộ quy tắc quyết định đối với thực thể sự cố và nhiệm vụ
Tạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Giải nén tệp zip, mở tệp data.xml có trong thư mục đã giải nén và thực hiện các hoạt động sau:
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý
msdyn_decisioncontractid
:https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_baseoutputcontractmasterentityroutingconfiguration'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý
msdyn_decisioncontractid
:https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_baseoutputcontractmasterentityroutingconfigurationunifiedrouting'
Nếu không có kết quả khi bạn thực hiện cuộc gọi, hãy chuyển tới bước 5. Nếu có đầu ra thì trong tệp data.xml, hãy thay thế tất cả các lần xuất hiện của GUID msdyn_decisioncontractid trong tổ chức nguồn bằng GUID msdyn_decisioncontractid của tổ chức đích.
Đóng gói lại nội dung giải nén.
Sử dụng công cụ Configuration Migration , chọn tùy chọn để nhập dữ liệu rồi sau đó chọn tệp nén.
Để sơ đồ mẫu nhận được tất cả các bản ghi cần thiết, xem Sơ đồ mẫu cho các quy tắc nạp để định tuyến bản ghi.
FetchXML để quyết định thực thể hợp đồng về các quy tắc tiếp nhận
Mẫu 1: Hợp đồng quyết định cho tất cả bản ghi được định tuyến
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="not-null" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="not-null" />
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" linktype="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" linktype="outer" alias="bt" /></link-entity>
</entity>
</fetch>
Mẫu 2: Hợp đồng quyết định đối với thực thể sự cố
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="incident" />
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bt" /></link-entity>
</entity>
</fetch>
Mẫu 3: Hợp đồng quyết định đối với thực thể sự cố và nhiệm vụ
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="task" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="task" />
</filter>
</filter>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bt" /></link-entity>
</entity>
</fetch>
FetchXML cho thực thể tập hợp quy tắc quyết định cho các quy tắc tiếp nhận
Mẫu 1: Bộ quy tắc quyết định cho tất cả hàng đợi được định tuyến
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="cp">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" operator="not-null" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 2: Bộ quy tắc quyết định đối với thực thể sự cố
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="cp">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" operator="eq" value="incident" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 3: Bộ quy tắc quyết định đối với thực thể sự cố và nhiệm vụ
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="inner" alias="cp">
<filter type="and">
<filter type="or">
<condition attribute="msdyn_entitylogicalname" operator="eq" value="incident" />
<condition attribute="msdyn_entitylogicalname" operator="eq" value="task" />
</filter>
</filter>
</link-entity>
</entity>
</fetch>
FetchXML để cấu hình định tuyến thực thể cho các quy tắc tiếp nhận
Mẫu 1: Cấu hình định tuyến thực thể chính cho bản ghi được định tuyến
<fetch>
<entity name="msdyn_masterentityroutingconfiguration">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" operator="not-null" />
</filter>
</entity>
</fetch>
Mẫu 2: Cấu hình định tuyến thực thể chính cho thực thể sự cố
<fetch>
<entity name="msdyn_masterentityroutingconfiguration">
<filter type="and">
<condition attribute="msdyn_entitylogicalname" operator="eq" value="incident" />
</filter>
</entity>
</fetch>
Mẫu 3: Cấu hình định tuyến thực thể chính cho thực thể sự cố và nhiệm vụ
<fetch>
<entity name="msdyn_masterentityroutingconfiguration">
<filter type="and">
<filter type="or">
<condition attribute="msdyn_entitylogicalname" operator="eq" value="incident" />
<condition attribute="msdyn_entitylogicalname" operator="eq" value="task" />
</filter>
</filter>
</entity>
</fetch>
Di chuyển cấu hình cho luồng công việc bản ghi
Sử dụng công cụ Di chuyển cấu hình để tạo sơ đồ và xuất dữ liệu từ tổ chức nguồn cho luồng công việc bản ghi.
- Tên hiển thị của thực thể: Khi bạn tạo sơ đồ, chọn các thực thể theo trình tự giống như được đề cập trong bảng.
- Tên hiển thị của thuộc tính: Chúng tôi khuyên bạn nên chọn các thuộc tính được xác định trong bảng sau. Bạn không cần phải chọn các thuộc tính sẵn dùng do hệ thống xác định, như Người tạo, Ngày tạo, Người sửa đổi, Ngày sửa đổi và Chủ sở hữu. Bạn có thể chọn các thuộc tính tùy chỉnh, nếu cần.
- Sử dụng FetchXML để lọc bản ghi: Đối với mỗi thực thể, hãy sử dụng truy vấn thích hợp FetchXML được đề cập trong bảng sau đây để nhận đơn, nhiều hoặc tất cả các bản ghi dựa trên yêu cầu của bạn. Đối với một hoặc nhiều bản ghi, bạn cần sử dụng tổ chức nguồn để có được tên chính xác trong uiname và GUID trong giá trị. Nếu được yêu cầu, bạn có thể sử dụng mục menu TÌM KIẾM NÂNG CAO để xây dựng truy vấn thích hợp FetchXML .
- Định cấu hình cài đặt nhập:
Đối với thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn hộp kiểm Không cập nhật bản ghi hiện có.
Đối với mọi thực thể, bao gồm cả thực thể hợp đồng Quyết định, hãy đảm bảo rằng bạn chọn trường khóa chính của thực thể sẽ được sử dụng làm trường để so sánh khi cập nhật. Một ví dụ cho Tài khoản như sau.
Lưu ý
Truy vấn mẫu được liệt kê trong bảng sau đây nhận được một hoặc nhiều bản ghi. Truy vấn đã coi thực thể là sự cố và nhiệm vụ. Dựa trên yêu cầu của bạn, hãy đảm bảo rằng bạn cập nhật tên logic thực thể trong truy FetchXML vấn.
Đảm bảo rằng các luồng công việc được đề cập trong quy tắc tiếp nhận tồn tại trong tổ chức mục tiêu hoặc hiện diện như một phần của quá trình di chuyển hiện tại.
Bảng sau đây tóm tắt các thực thể và mẫu tương ứng FetchXML .
Số sê-ri Tên hiển thị thực thể (Tên lô-gic) Tên hiển thị thuộc tính: (Tên logic) Dùng FetchXML để lọc bản ghi 1. Luồng công việc (msdyn_liveworkstream) - Cho phép tin nhắn tự động (msdyn_enableautomatedmessages)
- Cho phép hiện diện (msdyn_allowedpresences)
- Gán WorkItem sau khi từ chối hoặc hết thời gian chờ (msdyn_assignworkitemafterdecline)
- Tự động đóng sau khi không có hoạt động (msdyn_autocloseafterinactivity)
- Dung lượng khối cho trạng thái kết thúc (msdyn_blockcapacityforwrapup)
- Hàng đợi bot (msdyn_bot_queue)
- Quy tắc bot (msdyn_bot_rule)
- Người dùng bot (msdyn_bot_user)
- Năng lực (msdyn_capitalrequired)
- Định dạng năng lực (msdyn_ capacityformat)
- Kênh (msdyn_streamsource)
- ID hợp đồng (msdyn_routingcontractid)
- Mặc định (msdyn_sessiontemplate_default)
- Hàng đợi mặc định (msdyn_defaultqueue)
- Hướng dẫn (msdyn_direction)
- Cho phép chọn từ luồng công việc dựa trên đẩy (msdyn_enableselectingfrompushbasedworkstreams)
- Thực thể (msdyn_masterentityroutingconfigurationid)
- Ngôn ngữ dự phòng (msdyn_fallbacklanguage)
- Theo dõi sau khi chờ đợi (msdyn_followupafterwaiting)
- Ngưỡng thời gian xử lý (msdyn_handlingtimethreshold)
- Đến được xác thực (msdyn_notificationtemplate_incoming_auth)
- Là mặc định (msdyn_isdefault)
- Giữ nguyên tổng đài viên cho toàn bộ cuộc hội thoại (msdyn_enableagentaffinity)
- Khớp logic (msdyn_matchinglogic)
- Điều khiển đồng thời tối đa (msdyn_maxconcurrentconnection)
- Chế độ (msdyn_mode)
- Tên (msdyn_name)
- Thông báo (msdyn_notification)
- Hàng đợi gửi đi (msdyn_outboundqueueid)
- Quy tắc nhận dạng bản ghi (msdyn_recordidentificationrule)
- Quy tắc xác thực nhận dạng bản ghi (msdyn_recordidentificationvalidationrule)
- Thời gian chờ bật trên màn hình (msdyn_screenpoptimeout)
- Thời gian chờ bật trên màn hình (msdyn_screenpoptimeout_optionSet)
- Số lượng quy tắc đính kèm kỹ năng (msdyn_skillattachmentrulescount)
- Số lượng quy tắc đính kèm kỹ năng (Cập nhật lần cuối vào) (msdyn_skillattachmentrulescount_date)
- Số lượng quy tắc đính kèm kỹ năng (Trạng thái) (msdyn_skillattachmentrulescount_state)
- Ngưỡng thời gian chờ (msdyn_waitingtimethreshold)
- Chế độ phân phối công việc (msdyn_workdistributionmode)
- Luồng công việc (msdyn_liveworkstreamid)
Mẫu 1: Tất cả các luồng công việc bản ghi
Mẫu 2: Luồng công việc bản ghi đơn
Mẫu 3: Nhiều luồng công việc bản ghi2. Quyết định hợp đồng (msdyn_decisioncontract) - Định nghĩa hợp đồng (msdyn_contractdefinition)
- Quyết định hợp đồng (msdyn_decisioncontractid)
- Tên (msdyn_name)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Hợp đồng quyết định cho tất cả luồng công việc bản ghi
Mẫu 2: Hợp đồng quyết định cho một luồng công việc bản ghi loại = sự cố
Mẫu 3: Hợp đồng quyết định cho nhiều luồng công việc bản ghi loại = sự cố và loại = nhiệm vụ
3. Bộ quy tắc quyết định (msdyn_decisionruleset) - Mô hình trình tạo AI (msdyn_aibmodelid)
- Chế độ tác giả (msdyn_authoringmode)
- Bộ quy tắc quyết định (msdyn_decisionrulesetid)
- Mô tả (msdyn_description)
- Hợp đồng đầu vào (msdyn_inputcontractid)
- Là bộ sưu tập đầu vào (msdyn_isinputcollection)
- Loại mô hình ML (msdyn_mlmodeltype)
- Tên (msdyn_name)
- Hợp đồng đầu ra (msdyn_inputcontractid)
- Định nghĩa bộ quy tắc (msdyn_rulesetdefinition)
- Loại bộ quy tắc (msdyn_rulesettype)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Bộ quy tắc quyết định cho tất cả luồng công việc bản ghi
Mẫu 2: Bộ quy tắc quyết định cho một luồng công việc bản ghi loại = sự cố
Mẫu 3: Bộ quy tắc quyết định cho nhiều luồng công việc bản ghi loại = sự cố và loại = nhiệm vụ4. Cấu hình định tuyến (msdyn_routingconfiguration) - Là cấu hình hiện hoạt (msdyn_isactiveconfiguration)
- Tên (msdyn_name)
- Cấu hình định tuyến (msdyn_routingconfigurationid)
- Tên duy nhất (msdyn_uniquename)
- Luồng công việc (msdyn_liveworkstreamid)
Mẫu 1: Cấu hình định tuyến cho tất cả luồng công việc bản ghi
Mẫu 2: Cấu hình định tuyến cho một luồng công việc bản ghi
Mẫu 3: Cấu hình định tuyến cho nhiều luồng công việc bản ghi5. Bước cấu hình định tuyến (msdyn_routingconfigurationstep) - Tên (msdyn_name)
- Cấu hình định tuyến (msdyn_routingconfigurationid)
- Bước cấu hình định tuyến (msdyn_routingconfigurationstepid)
- Bộ quy tắc (msdyn_rulesetid)
- Thứ tự bước (msdyn_steporder)
- Loại bước (msdyn_type)
- Tên duy nhất (msdyn_uniquename)
Mẫu 1: Bước cấu hình định tuyến cho tất cả luồng công việc bản ghi
Mẫu 2: Bước cấu hình định tuyến cho một luồng công việc bản ghi
Mẫu 3: Bước cấu hình định tuyến cho nhiều luồng công việc bản ghi6. Hồ sơ năng lực luồng công việc (msdyn_liveworkstreamcapacityprofile) - Hồ sơ năng lực (msdyn_capacityprofile_id)
- Tên (msdyn_name)
- Luồng công việc (msdyn_workstream_id)
- Hồ sơ năng lực luồng công việc (msdyn_liveworkstreamcapacityprofileid)
Mẫu 1: Hồ sơ năng lực luồng công việc cho tất cả các luồng công việc bản ghi
Mẫu 2: Hồ sơ năng lực luồng công việc cho một luồng công việc bản ghi
Mẫu 3: Hồ sơ năng lực luồng công việc cho nhiều luồng công việc bản ghiTạo sơ đồ rồi lưu.
Xuất dữ liệu và tạo tệp nén (zip).
Giải nén tệp zip, mở tệp data.xml có trong thư mục đã giải nén và thực hiện các hoạt động sau:
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_baseoutputcontractmasterentityroutingconfiguration'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_baseoutputcontractmasterentityroutingconfigurationunifiedrouting'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Trong các tổ chức nguồn và đích, chạy lệnh gọi API OData sau đây và lưu ý
msdyn_decisioncontractid
.https://<OrgURL>/api/data/v9.1/msdyn_decisioncontracts?$select=msdyn_decisioncontractid&$filter=msdyn_uniquename eq 'msdyn_demandqueueidentificationoutput'
Trong tệp data.xml, thay thế tất cả các lần xuất hiện của msdyn_decisioncontractid GUID trong tổ chức nguồn bằng msdyn_decisioncontractid GUID của tổ chức đích.
Đóng gói lại nội dung giải nén.
Sử dụng công cụ Di chuyển cấu hình, chọn tùy chọn để nhập dữ liệu và chọn tệp nén.
Sau khi quá trình nhập hoàn tất thành công, hãy chạy lại quá trình nhập để đảm bảo các tham chiếu được cập nhật chính xác có thể đã bị ghi đè bởi quá trình "khi tạo".
For sample schema to get all the required records, see Sơ đồ mẫu cho luồng công việc bản ghi hợp nhất.
FetchXML cho thực thể luồng công việc
Mẫu 1: Tất cả các luồng công việc bản ghi
<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="192350000" />
</filter>
</entity>
</fetch>
Mẫu 2: Luồng công việc bản ghi đơn
<fetch>
<entity name="msdyn_liveworkstream">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" operator="eq" uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</entity>
</fetch>
Mẫu 3: Nhiều luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</entity>
</fetch>
FetchXML cho chủ thể hợp đồng quyết định
Mẫu 1: Hợp đồng quyết định cho tất cả luồng công việc bản ghi
<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="192350000" />
</filter>
<filter type="and">
<condition attribute="msdyn_mode" entityname="bd" operator="eq" value="717210001" />
<condition attribute="msdyn_streamsource" entityname="bd" operator="eq" value="192350000" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="not-null" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="not-null" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an"></link-entity>
<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>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bt" /></link-entity>
</entity>
</fetch>
Mẫu 2: Hợp đồng quyết định cho một luồng công việc bản ghi loại = sự cố
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="eq" uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="eq" uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="incident" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an"></link-entity>
<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>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bt" /></link-entity>
</entity>
</fetch>
Mẫu 3: Hợp đồng quyết định cho nhiều luồng công việc bản ghi loại = sự cố và loại = nhiệm vụ
<fetch distinct="true">
<entity name="msdyn_decisioncontract">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="an" operator="in">
<value uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="bd" operator="in">
<value uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="incident" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bp" operator="eq" value="task" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="bt" operator="eq" value="task" />
</filter>
</filter>
<link-entity name="msdyn_liveworkstream" from="msdyn_routingcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="an"></link-entity>
<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>
<link-entity name="msdyn_decisionruleset" from="msdyn_inputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bo">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bp" /></link-entity>
<link-entity name="msdyn_decisionruleset" from="msdyn_outputcontractid" to="msdyn_decisioncontractid" link-type="outer" alias="bs">
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="bt" /></link-entity>
</entity>
</fetch>
FetchXML cho thực thể tập quy tắc quyết định
Mẫu 1: Bộ quy tắc quyết định cho tất cả luồng công việc bản ghi
<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="192350000" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="dc" operator="not-null" />
</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>
</link-entity>
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="dc"></link-entity>
</entity>
</fetch>
Mẫu 2: Bộ quy tắc quyết định cho một luồng công việc bản ghi loại = sự cố
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="eq" uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
<filter type="and">
<condition attribute="msdyn_entitylogicalname" entityname="dc" operator="eq" value="incident" />
</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>
</link-entity>
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="dc"></link-entity>
</entity>
</fetch>
Mẫu 3: Bộ quy tắc quyết định cho nhiều luồng công việc bản ghi loại = sự cố và loại = nhiệm vụ
<fetch distinct="true">
<entity name="msdyn_decisionruleset">
<filter type="or">
<filter type="and">
<condition attribute="msdyn_liveworkstreamid" entityname="af" operator="in">
<value uiname="Test Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
<filter type="and">
<filter type="or">
<condition attribute="msdyn_entitylogicalname" entityname="dc" operator="eq" value="incident" />
<condition attribute="msdyn_entitylogicalname" entityname="dc" operator="eq" value="task" />
</filter>
</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>
</link-entity>
<link-entity name="msdyn_masterentityroutingconfiguration" from="msdyn_rulesetid" to="msdyn_decisionrulesetid" link-type="outer" alias="dc"></link-entity>
</entity>
</fetch>
FetchXML cho thực thể cấu hình định tuyến
Mẫu 1: Cấu hình định tuyến cho tất cả luồng công việc bản ghi
<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="192350000" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 2: Cấu hình định tuyến cho một luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 3: Cấu hình định tuyến cho nhiều luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
FetchXML để định tuyến cấu hình bước thực thể
Mẫu 1: Bước cấu hình định tuyến cho tất cả luồng công việc bản ghi
<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="192350000" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 2: Bước cấu hình định tuyến cho một luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
Mẫu 3: Bước cấu hình định tuyến cho nhiều luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
FetchXML cho thực thể hồ sơ năng lực luồng công việc
Mẫu 1: Hồ sơ năng lực luồng công việc cho tất cả các luồng công việc bản ghi
<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="192350000" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 2: Hồ sơ năng lực luồng công việc cho một luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream" value="{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}" />
</filter>
</link-entity>
</entity>
</fetch>
Mẫu 3: Hồ sơ năng lực luồng công việc cho nhiều luồng công việc bản ghi
<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 Record Workstream Case 1" uitype="msdyn_liveworkstream">{759255C7-7AC8-98E0-7E3E-59A7F0312EFC}</value>
<value uiname="Test Record Workstream Task 1" uitype="msdyn_liveworkstream">{E6246229-33AC-5A9E-2FFE-51668AD44215}</value>
</condition>
</filter>
</link-entity>
</entity>
</fetch>
Các bước tiếp theo
Xem thêm
Tạo một sơ đồ để xuất dữ liệu cấu hình
Tổng quan về di chuyển dữ liệu cho bản ghi
Sử dụng truy vấn FetchXML để lọc bản ghi
Khắc phục sự cố di chuyển bản ghi
Di chuyển dữ liệu cấu hình để trò chuyện trực tiếp
Di chuyển dữ liệu cấu hình cho kênh thoại
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho