cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

how do you restart a suspended workflow

Jump to solution

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?

Labels: (1)
0 Kudos
Reply
5 Replies
Workflow Hero

Re: how do you restart a suspended workflow

Jump to solution

Hi Colleen,

 

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.

 

  1. Use a site workflow to cancel/restart them - I occasionally use a workflow which queries a list/lib for items with a workflow error and does a for each on them, cancelling and restarting the workflow.
  2. Cancel them all manually, and then use datasheet view to quickly update the items. Make sure the workflow will start when they are modified.
Reply
Workflow Hero

Re: how do you restart a suspended workflow

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: how do you restart a suspended workflow

Jump to solution

Caroline Jung

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

0 Kudos
Reply
Workflow Hero

Re: how do you restart a suspended workflow

Jump to solution

Hi Daniel,

Unfortunately, as far as I know, it's not possible to restart a workflow with the original Initiator's account...

Reply
Workflow Hero

Re: how do you restart a suspended workflow

Jump to solution
0 Kudos
Reply