更新时间:2023-11-18 16:55:34
您好,Rupa,
要在发生错误后重新启动工作流,建议的方法是将工作流设置为手动启动,然后在浏览器中手动启动工作流.如果工作流实例导致错误,则必须先取消工作流,然后再进行操作. 您尝试再次启动它.有关取消工作流程的信息,请参见以下文章:
http://office.microsoft.com/zh-我们/sharepoint-designer-help/redir/HA010164131.aspx?CTT=5&origin=HA010237912您还可以使用PowerShell取消/重新启动工作流程.
这是参考:http://eric.oszakiewski.net/在sharepoint-2010-powershell中停止并重新启动特定项目工作流/
***的问候,
丽莎·陈(Lisa Chen)
Hi All,
I have a list called "Test" and the list has workflow called "Test_Workflow" for suppose if the Workflow failed to update the fields i.e if (Workflow status -is Error Occurred ) i need to re run the same workflow automatically after 60 sec or 2 min for the same record
i need to achieve this either using workflow or flows or client side object model
Please help me to fix this issue, and let me know if you need more information on this .
Thanks in advance
Bharadwaj
Hi Rupa,
To restart a workflow after error is occured, the recommended approach is to set the workflow to start manually, and then start the workflow manually in the browser. If the instance of a workflow resulted in an error, you must cancel the workflow before you attempt to start it again.For canceling the workflow refer to the following article:
http://office.microsoft.com/en-us/sharepoint-designer-help/redir/HA010164131.aspx?CTT=5&origin=HA010237912You can also cancel/restart workflows with PowerShell.
Here is a reference:http://eric.oszakiewski.net/stop-and-restart-specific-item-workflows-in-sharepoint-2010-powershell/
Best Regards,
Lisa Chen