How to update the running workflow to the latest version on multiple items.

  • 19 February 2021
  • 2 replies
  • 114 views

Hello,

 

I am making updates to an active workflow as the team finds more efficient setups/requests changes. I have been manually assigning each job to the latest workflow every time I update the workflow to accommodate the latest request. We have over 100 active jobs (and growing), so the manual changing of each job to the latest version of the workflow is a lengthy task to say the least. My question - Is there a way to update multiple/all jobs from previous workflows to the latest version of the workflow?

 

I am a novice at SharePoint and Nintex so I am hoping I am missing something that would make these transfers to the most updated workflow easier to transfer for all active jobs. All advice is greatly appreciated. 

The screenshots below show the steps I am currently making to update one job at a time to the latest workflow. 

 

10137i9867CF226388A2F6.png

 

 

I click on "Advanced", then "Workflows" in the "more ..." circled above.

 

10138iE26B2AB8686B56FC.png

I then click on the checkbox next to the Workflow

 

10139iCF12B03C62B39AB8.png

I then update the date to today's date and re-run the workflow by clicking start to put this job on the latest workflow version.


2 replies

Badge +4

It isn't possible to just replace a running workflow. However there are a few options you could use to make the process quicker.


 


Firstly, why do you have a date picker on the start form if you just enter the current date. Within the workflow designer, you can set a date variable to the current date of the workflow running:



This should reduce the need for you to keep entering it each type. Then, continue with the following:


1. Create a new column called 'TriggerWF' - single line of text should be fine


2. Create a new list workflow, configure the starting conditions to start conditionally on item modification for when a 1 is added to the 'TriggerWF' column:



3. Add the following actions to your workflow designer:



The first will terminate the other workflows running on your list, then you can set the second to start the same workflow again.


 


Finally, once you've updated and published your main workflow, add the column to your list view, edit it using quick edit mode and enter a 1 into the 'TriggerWF' column and drag it down like excel. It will then start this workflow for each one.

Hi Nmarch01.
Can you resolve this issue? I have the same case to solve.
Thanks in advance.

Reply