工作流程历史记录丢失或工作流程历史记录关联中断 [英] Workflow history lost or workflow history association is broken

查看:151
本文介绍了工作流程历史记录丢失或工作流程历史记录关联中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

使用数据库分离附加方法将SharePoint 2010内容从旧服务器场迁移到新服务器场.但是,我们并未在新服务器场中禁用工作流程清理"作业,该作业删除了所有工作流程的历史记录.虽然历史记录可以访问 来自不同的列表(SignatureApprovalForm/Lists/Workflow%20History),并且互联网上有一些文章将列表数据转换为可读形式.但是业务需求是在历史记录的相同位置还原历史记录.任何解决方案/见解 将不胜感激.

The SharePoint 2010 content was migrated from old farm to new farm using database detach attach method. However, we didn’t disable the "workflow cleanup" job in new farm which removed the history of all the workflows. Although the history can be accessed from a different list (SignatureApprovalForm/Lists/Workflow%20History) and there are articles on internet to convert the list data into readable form. But the business requirement is to restore the history at the same location where it was. Any solution/insight will be appreciated.

注意:,我们已在开发服务器场中还原了工作流程的旧备份,可以在其中查看历史记录,但现在的挑战是如何将其与历史记录已消失的生产合并.此外,由于生产数据是实时的,因此我们无法覆盖 用户每天都在使用工作流程.

Note: we have restored the old backup of workflows in Dev farm where we can see the history but now the challenge is how to merge it with production where the history has vanished. Also, we cannot overwrite as Production data is live and users are using workflows every day.

推荐答案

在您的旧生产系统上启用了 Workflow Auto Cleanup 计时器作业,并且该计时器作业已启用在您的新手机上?默认情况下,此功能处于启用状态,因此,无论如何,工作流程历史记录都会从工作流程的较早完成实例中删除, 尝试还原它没有任何意义.而且您也不会希望禁用此计时器作业,因为该列表会非常大地增长,并且会严重影响内容数据库的大小.

Was the Workflow Auto Cleanup timer job enabled on your old production system and is it enabled on your new one?  By default it is on, so, workflow history gets removed anyway from your older completed instances of a workflow and it wouldn't make sense to try to restore it.  And you wouldn't want this timer job disabled anyway since that list grows large very quickly and will significant impact content database size.

转到新旧生产实例中的工作流程历史记录列表,并检查两个列表中工作流程历史记录父实例,工作流程关联ID,工作流程模板ID和列表ID的GUID:它们是否更改?我问的原因 是如果您确实要添加较旧的工作流历史记录项,我认为您需要确保GUID保持一致.我不知道它们是否有效,因为我从未出于任何原因修改过此列表.

Go the the workflow history lists in your old and new production instances and check the GUIDs for the Workflow History Parent Instance, Workflow Association ID, workflow Template ID and List ID in both lists: did they change?  The reason why I ask is that if you really want to add the older workflow history items, I would think that you would need to ensure that the GUIDs are consistent.  I don't know if they are off hand, since I've never modified this list for any reason.

参考

  • Disable automatic cleanup of workflow history (SharePoint Server 2007)
  • SharePoint Workflow Auto Cleanup
  • Where is the SharePoint workflow history list (Hidden List)? - written for 2007 but still valid for 2010 workflows.  provides useful information.


这篇关于工作流程历史记录丢失或工作流程历史记录关联中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆