如果任务列表超过5000个项目,则不会生成工作流任务 [英] Workflow task not generated if task list crosses 5000 items

查看:38
本文介绍了如果任务列表超过5000个项目,则不会生成工作流任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个刚刚绑定到列表的SPD工作流程。系统使用频繁,每天创建近500多个请求。问题是每个项目它创建3个任务,任务列表非常频繁地达到5000个项目的视图阈值限制。
由于哪个spd工作流无法为新项创建任务。这是一个非常大的限制因为sharepoint 2013工作流程提供不能用于这样的应用程序。此外,提及这与索引列无关,因为据我所知
工作流可以在场景后创建任务, 


是否有任何具体方法可以解决这个问题从每周删除任务?有没有人知道它周围的解决方案? 




Umesh B

解决方案

< blockquote>

嗨Umesh B,


对于您的请求,我建议您为任务列表中的内容类型创建保留策略:


Go到网站设置 - >内容类型政策模板 - >单击在策略页面中创建 - >选择"启用保留" - >添加保留阶段,在阶段属性对话框中,选择保留期限和操作,如下所示: / p>


In任务列表,列表设置 - >信息管理策略设置,选择相关内容类型并指定网站集策略:



此外,我们还可以使用PowerShell命令禁用任务列表限制:

 


web = G. et-SPWeb http:// url / to / web / with / list


list =


We have a SPD workflow which is just bound to a list. The system is being heavily used and almost 500+ requests are created daily. The problem is per item it creates 3 tasks and task list is reaching 5000 item limit of view threshold quite frequently. Because of which spd workflow cannot create task for new items. This is very big limitation because of which sharepoint 2013 workflow offering cant be used for applications like these. Also, to mention this is nothing to do with index columns as i understand workflow can create task behind the scene, 

Is there any specific way to get around this apart from deleting tasks every week ? Does anyone know a solution around it ?? 


Umesh B

解决方案

Hi Umesh B,

For your request, I recommend you creating retention policy for the content type in task list:

Go to site settings->Content Type Policy Templates->click Create in Policies page->select "Enable Retention"->add a retention stage, in the stage properties dialog box, select retention period and action as below:

In the task list, list settings->Information management policy settings, select the relevant content type and specify a site collection policy:

Besides, we can also disable task list throttling by using PowerShell Commands:


web = Get-SPWeb http://url/to/web/with/list


list =


这篇关于如果任务列表超过5000个项目,则不会生成工作流任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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