Mutliple项目/整个列表上的Sharepoint工作流程 [英] Sharepoint Workflow on Mutliple items / Entire list

查看:92
本文介绍了Mutliple项目/整个列表上的Sharepoint工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


通常工作流程在当前项目上运行。我可以在整个列表上手动运行工作流吗? Scenerio如下:


我在列表中有两列,即状态和注释。在少数项目中状态为关闭而在少数其他项目中它是打开的。


我希望工作流程应该在整个列表上运行并检查每个项目中的状态。在获得关闭状态的情况下,已将值设置为其他字段"注释"。即"准备存档。


我可以用来执行的工作流程代码 这个任务?

解决方案

嗨 


您可以在SharePoint中创建站点工作流程。


它可以在运行时更新许多列表项。


您可以通过powershell和任务计划启动站点工作流程。


https://www.mssqltips.com/sqlservertip/3932/run-a-site-workflow-with-powershell-and-the-windows-task-scheduler/


https://prairiedeveloper.com/2017/02/start-sharepoint-2013-workflows-with-powershell/


Hi

usually workflow run on current Item. Can I run workflow manually on entire list? Scenerio is as follows:

I have two columns in List i.e. Status and Comment. In few items Status is Close whereas in few other items it is Open.

I want that workflow should run on entire list and check the status in each item. Where it get Close status, a value has been set to other field "Comment" i.e. "Ready to archive.

what workflow code I can use to perform  this task?

解决方案

Hi 

You can create Site Workflow in SharePoint.

It can update many list items when it's running.

And you can start the site workflow by powershell and task schedule.

https://www.mssqltips.com/sqlservertip/3932/run-a-site-workflow-with-powershell-and-the-windows-task-scheduler/

https://prairiedeveloper.com/2017/02/start-sharepoint-2013-workflows-with-powershell/


这篇关于Mutliple项目/整个列表上的Sharepoint工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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