迁移评估扫描:工作流关联 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 源场可能会使用工作流管理器的版本运行工作流 2013。因此,将内容从源环境移至目标环境时,会通过一个流程将工作流 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.

  • 工作流实例: 每个运行中的工作流定义实例都将会维持工作流状态,例如本文档处于审批流程的第 2 阶段并分配给 John Doe。此数据保存在 Azure 工作流管理器中。遗憾的是,Azure 团队不具备将工作流管理器数据从当前源环境迁移到 Azure 实例的技术。这将导致丢失所有运行中的工作流实例。例如,在迁移到目标环境后,在源环境中处于工作流第 2 阶段的文档会返回到零阶段,即未启动工作流。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
网站集中存在的 Web 数。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 和 DistinctUser 提供上下文。例如,如果此列为 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.
ScopeScope
列表或网站。这是工作流运行所处的级别。它应帮助网站所有者找到受影响的工作流定义。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.