移轉評定掃描:工作流程關聯 2013Migration Assessment Scan: Workflow Associations 2013

了解如何修正移轉期間使用工作流程關聯 2013 時發生的問題。Learn how to fix issues with that occur with Workflow Associations 2013 during migration.

概觀Overview

當內容從 SharePoint 來源環境移轉至新目標環境時,視目前陣列中的工作流程使用方式而定,系統可能會使用兩種工作流程。When content is migrated from the SharePoint source environment to the new target environment there are two types of workflows that could be involved, depending on their use in the current farm.

使用 SharePoint 2010 中提供的工作流程服務建立、且仍在來源環境中使用的工作流程,將移轉至新陣列繼續正常運作。Workflows that were created using the workflow service that was available in SharePoint 2010 and are still in use on the source environment will be migrated to the new farm and will continue to work as expected.

SharePoint 來源陣列可能會使用某一版本的工作流程管理員執行 Work 2013。因此,當內容從來源環境移至目標環境時,會有個程序將 Workflow 2013 移至工作流程管理員的 Azure 的執行個體。SharePoint source farms may run Workflow 2013 using a version of the Workflow Manager. As a result, when content is moved from the source environment to the target environment, there is a process to migrate Workflow 2013 over to the Azure instance of the Workflow Manager.

資料移轉Data Migration

工作流程資料可分成兩個部分:Workflow Data is divided into two parts:

  • 工作流程定義: 定義會說明整個工作流程程序,例如三階段核准工作流程及每個階段的自訂路由規則。此資料位於 Office 365,且將與剩下的 Office 365 資料一併移轉,以在您的目標環境中提供使用。Workflow Definition: The definition describes the overall workflow process, for example, a three stage approval workflow with custom routing rules for each stage. This data lives in Office 365 and will be migrated with the rest of the Office 365 data and will be available in your target environment.

  • 工作流程執行個體: 工作流程定義中每個執行中的執行個體會維護工作流程的狀態,例如:此文件處於核准程序的第二階段,並已指派給楊棟材。此資料位於 Azure 工作流程管理員中。遺憾的是,Azure 小組目前仍沒有技術,無法將工作流程管理員資料從目前來源環境移轉至 Azure 執行個體。因此,所有執行中的工作流程執行個體將遺失。例如,在移轉至目標環境後,來源環境中處於工作流程第二階段的文件會回到第零階段 (即工作流程未開始)。Workflow Instances: Each running instance of a workflow definition maintains the state of the workflow, for example, this document is in Stage 2 of the approval process and is assigned to John Doe. This data lives in the Azure Workflow Manager. Unfortunately, the Azure team does not have the technology to migrate Workflow Manager data from the current source environments to Azure instances. The result of this will be the loss of all running workflow instances. For example, a document that was in Stage 2 of a workflow in the source environment will be back to Stage Zero (workflow not started) post migration to the target environment.

重要

任何設定為「無法存取」(鎖定) 的網站在 SharePoint 中都將予以略過。若要查看鎖定的網站集合清單,請參閱「鎖定的網站」掃描輸出。Any site that is configured as "No Access" (locked), in SharePoint will be skipped. To see a list of locked site collections see the Locked Sites scan output.

準備移轉Preparing for Migration

若要避免內容移至目標環境時重啟不必要的工作流程,最好在移轉事件前就先完成進行中的工作流程。如果此功能目前正在來源環境中使用,您可以在移轉事件前先接收執行中的工作流程執行個體清單,以便您告知網站擁有者此狀態。To avoid unnecessary workflow restarts, it is best to complete in-flight workflows before the migration event when your content is moved to the target environment. If the feature is in use in the source environment today you can receive a list of running instances of workflows prior to the migration event, so that you can communicate this status to your site owners.

移轉之後Post Migration

移轉完成後,所有使用者將需重啟仍在進行中的任何工作流程。在某些極端情況下,如果工具無法移轉,就可能需重新建立工作流程。Once the migration is complete, all users will need to restart any workflows that were still in flight. In some extreme cases, it may be necessary to recreate a workflow if the tooling is unable to migrate it.

掃描結果報表Scan Result Report

WorkflowAssociations2013 detail.csv:此掃描報表含來源工作流程定義,以及網站中關聯的部分。工作流程定義會橫跨整個移轉,因此這會給予陣列中工作流程資料量的可見性。WorkflowAssociations2013-detail.csv This scan report contains source workflow definitions and where they are associated in the site. Workflow definitions come across in the migration, so this gives some visibility into the workflow footprint in the farm.

Column 描述Description
SiteIdSiteId
受影響網站集合的唯一識別碼。Unique identifier of the impacted site collection.
SiteURLSiteURL
受影響網站集合的 URL。URL to the impacted site collection.
SiteOwnerSiteOwner
網站集合的擁有者。Owner of the site collection.
SiteAdminsSiteAdmins
列為網站集合系統管理員的人員清單。List of people listed as site collection administrators.
SiteSizeInMBSiteSizeInMB
網站集合的大小 [MB]Size of the size collection in megabytes [MB]
NumOfWebsNumOfWebs
網站集合中存在的網站數。Number of webs that exist in the site collection.
ContentDBNameContentDBName
主控網站集合之內容資料庫的名稱。Name of the content database hosting the site collection.
ContentDBServerNameContentDBServerName
主控內容資料庫的 SQL Server。SQL Server hosting the content database.
ContentDBSizeInMBContentDBSizeInMB
主控網站集合之內容資料庫的大小。Size of the content database hosting the site collection.
LastContentModifiedDateLastContentModifiedDate
網站集合內容的修改日期/時間。Date/Time the site collection had content modified.
TotalItemCountTotalItemCount
網站集合中項目的總數。Total number of items found in the site collection.
HitsHits
記錄的網站集合要求數。以流量記錄服務的資料為主。流量記錄服務若已停用,此列會顯示 N/A。Number of requests logged for the site collection. Relies on data from the usage logging service. If the usage logging service is disabled this row will show N/A.
DistinctUsersDistinctUsers
存取網站集合的不同使用者數目。以流量記錄服務的資料為主。流量記錄服務若已停用,此列會顯示 N/A。Number of distinct users that have accessed the site collection. Relies on data from the usage logging service. If the usage logging service is disabled this row will show N/A.
DaysOfUsageDataDaysOfUsageData
流量記錄服務保留資料的天數。這是針對 Hits 和 DistinctUsers 提供的內容。例如,如果這個值是 14 天,Hits 和 DistinctUsers 就是過去 14 天的資料。Number of days the usage logging service retains data. This provides context for Hits and DistinctUsers. For example, if this is 14 days, the Hits and DistinctUsers data is for the last 14 days.
範圍Scope
List (清單) 或 Site (網站)。此為工作流程執行的層級,這應協助網站擁有者找出受影響的工作流程定義。Either List or Site. This is the level that the workflow will run at. It should help the site owner locate the impacted workflow definitions.
RunningInstancesRunningInstances
連結至此工作流程關聯的執行個體數。Number of running instances linked to this workflow association.
WebUrlWebUrl
子網站的 URL。Url to the subsite.
ListTitleListTitle
如果工作流程與清單相關聯,則此會顯示該清單的標題。If the workflow is associated with a list, this will display the title of that list.
ListUrlListUrl
如果工作流程與清單相關聯,則此會顯示該清單根目錄的 URL。If the workflow is associated with a list, this will display the url to the root of the list.
IsReusableIsReusable
True/False。識別哪些工作流程會發佈作為可重複使用的工作流程。True/False. Identifies which workflows were published as reusable workflows.
WorkflowAssociationNameWorkflowAssociationName
顯示工作流程關聯的名稱。Display name given to the workflow association.
WorkflowDescriptionWorkflowDescription
顯示工作流程關聯的描述。Description given to the workflow association.
WorkflowPublishedByWorkflowPublishedBy
找出用來發佈工作流程的帳戶。Identity of the account used to publish the workflow.
WorkflowAssociationIDWorkflowAssociationID
工作流程關聯的唯一識別碼。Unique identifier for the workflow association.
EmailActivityExistsEmailActivityExists
如果工作流程中含電子郵件活動,則為 True。移轉後,您可能需要修正電子郵件活動中的身分識別。True if there are email activities contained in the workflow. It may be necessary to fix up the identities in the email activities post migration.
ConditionalRuleExistsConditionalRuleExists
如果工作流程中含條件規則,則為 True。移轉後,您可能需要修正條件規則中的身分識別。True if there are conditional rules contained in the workflow. It may be necessary to fix up the identities in the conditional rules post migration.
WorkflowFileCheckedOutWorkflowFileCheckedOut
如果工作流程檔案已取出,則為 True。已取出的檔案將不會移轉。True if the workflow files are checked out. Checked out files will not migrate.
ScanIDScanID
指派給特定 SharePoint 移轉評定工具執行的唯一識別碼。Unique identifier assigned to a specific execution of the SharePoint Migration Assessment Tool.