I have a workflow running in a library on SharePoint Online. It ran on some documents and is "suspended". After fixing the workflow, I'd like to restart all of the suspended workflows.
Is there an easy way to do this without doing this individually on each document?
Solved! Go to Solution.
If you're looking for a nice clean out-of-box method to accomplish this, there isn't one to my knowledge. Here are 2 fairly easy methods which don't require you to restart it manually on every item.
Thank you Josh for this info .
I just wanted to add one more possibility : you can also cancel/restart workflows with PowerShell.
Here is the link to cancel workflow instances : How to bulk cancel list item workflows with a status of "Error Occurred"
And here is the link to start a workflow instance : Re: Calling Nintex workflow manually or using powershell along with Association Data
Hope it will help someone
I have the same issue. In my case, I have a suspended workflow due to the expired password in an Office 365 Query User Profile Action. Since I spotted this fairly quickly, it is resolved going forward with a cheeky line of PowerShell:
Get-AzureADUser -Filter "UserPrincipalName eq 'myNintexaccount@mydomain.onmicrosoft.com'" | Set-AzureADUser -PasswordPolicies DisablePasswordExpiration
Now this leaves the 5 or so suspended workflows that are I want to restart but run under the original Initiator's account. I just wondered if this possible with, or without PowerShell