使用Powershell启动与列表关联的所有工作流程 [英] Start all workflows associated with a list using powershell

查看:72
本文介绍了使用Powershell启动与列表关联的所有工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我希望有人能提供帮助.

我有4个SharePoint 2013工作流与一个列表相关联,我想使用Powershell和计划任务每​​天凌晨1点启动所有这些工作流.

任何人都可以推荐/提供一些脚本来实现这一目标吗?


谢谢

解决方案

Henny12345,

有一个用于通过PowerShell启动SharePoint 2013工作流的演示,您可以根据需要进行更改:

 


sourceWebURL ='< URL>'


sourceListName ='<列表名称>'

Hello,

I hope someone can help.

I've 4 SharePoint 2013 workflows associated with one list and I'd like to use powershell and a schedule task to start all these workflows at 1am everyday.

Can anyone recommend / provide some script that will allow me to achieve this?


Thanks

解决方案

Hi Henny12345,

There is a demo for starting a SharePoint 2013 workflow via PowerShell, you can change it base on your requirement:


sourceWebURL = '<URL>'


sourceListName = '<List Name>'


这篇关于使用Powershell启动与列表关联的所有工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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