60天后删除SharePoint工作流历史记录和任务数据 [英] SharePoint Workflow History and Task Data deleted after 60 Days

查看:101
本文介绍了60天后删除SharePoint工作流历史记录和任务数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们对法规和遵从性"应用程序有非常具体的要求,以永久保留工作流任务数据"和工作流历史记录".
任何人都可以建议公认的最佳实践来永久保留正在进行中的任务和已完成任务的工作流任务数据和工作流历史(如果不可能永久保留,则可能至少保留10年).

We have very specific requirement for our Regulatory and Compliance application to retain the workflow Task Data and Workflow History forever.
Could anyone please advise proven best practice to retain the workflow task data and workflow history for both In-Progress and Completed task forever (or may be at least for 10 years if keeping forever is not possible).

提前感谢您的帮助!

推荐答案

我们可以创建两个自定义列表来存储任务数据和工作流程历史记录.

We can create two custom lists to store the task data and workflow history.

创建一个计时器作业(每月运行),并使用服务器对象模型将数据移动到新的自定义列表中,以永久存储正在进行的任务和已完成的任务的任务数据和工作流历史记录.

Create a timer job(running monthly) and using Server Object Model to move the data to the new custom lists to store task data and workflow history for both In-Progress and Completed task forever.

如果您无法访问SharePoint Server端,我们也可以使用客户端对象模型来实现它.

If you can't access SharePoint Server side, we can also use Client Side Object Model to achieve it.

SharePoint:将列表项从一个列表复制/移动到另一个列表

https ://social.technet.microsoft.com/wiki/contents/articles/33340.sharepoint-copymove-list-item-from-one-list-to-another.aspx

最好的问候,

丹尼斯


这篇关于60天后删除SharePoint工作流历史记录和任务数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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