如何使用PowerShell恢复暂停的工作流程 [英] How to resume a paused workflow using powershell

查看:300
本文介绍了如何使用PowerShell恢复暂停的工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SharePoint 2013中创建了一个SharePoint 2010样式的工作流程。它目前暂停到2018年12月10日,并说"暂停到2018/12/10"  


是否可以通过使用某种类型的PowerShell或其他东西在该日期之前恢复此工作流程?就像我想在12月5日恢复这个工作流程一样,可以吗?

解决方案

你好Frank,


据我所知,由于在SharePoint Designer工作流操作中设置了暂停直到日期,因此我们无法使用PowerShell更改日期值或执行以下工作流操作。


作为解决方法,我建议您直接在SharePoint Designer中编辑日期值,并停止当前正在进行的工作流程,然后启动更新的工作流程。


实际上,我们可以使用PowerShell批量停止和启动工作流程。


您可以检查线程中的PowerShell 取消所有正在运行的
与特定工作流实例关联的工作流程


祝你好运,


Grace Wang


I have created a SharePoint 2010 style workflow in SharePoint 2013. It is currently paused till 10 Dec 2018 and says "Paused until 2018/12/10"  

Is it possible to resume this workflow before that date by using some kind of powershell or something? Like if I want to resume this workflow on 5th Dec, can it be done?

解决方案

Hi Frank,

Per my knowledge, since the pause until date is set in SharePoint Designer workflow action, we are not able to change the date value or execute following workflow actions using PowerShell.

As a workaround, I suggest you editing the date value in SharePoint Designer directly, and stop the current in progress workflows, then start the updated workflow.

Actually, we can use PowerShell to bulk stop and start the workflows.

You can check the PowerShell in the thread to cancel all the running workflow associated with the specific workflow instance

Best regards,

Grace Wang


这篇关于如何使用PowerShell恢复暂停的工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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