I have a list that has been up for several months and initially had a "start when created" workflow running on it. I have recently taken the workflow offline, made some significant changes to the workflow and now need to start it again across the entire list of about 900+ items. Starting manually would take too long and I tried a work around by having it start on condition and that condition being a "1" I placed in a new column called "Workflow Starter". I just went down the list in quick edit and put 1s in that column and the workflow started just fine. The issue with this approach is that the start on condition feature is actually "Start when items are modified and:" the condition which in my case is when the Workflow Starter equals 1. What happens is every time the list item is modified, the workflow restarts which caused a lot of problems not to mention blowing up my version history. Any help would be greatly appreciated.
Solved! Go to Solution.
Couple ways to archieve this:
1. Create a Site Workflow, then use Nintex Web Service's StartWorkflowOnListItem web service method
Can refer this link: Start a Workflow using a Web Servicesee Run a Workflow on all existing items in a List/Library section
2. Create custom action on your document library then use SPServices jQuery Library to start workflow on multiple items, you can refer this link: SPServices Stories #1 – How to Start a Workflow on Multiple Items in a List | Marc D Anderson's Blog (I had done similar this before, it works for me )
3. Maybe a tools? Sharepoint Workflow Starter - Home But I never tried before, please use for your own risk.
What I have done before is just created a site workflow, query list and gather all the IDs, then run a "For Each Loop" against the collection of ID. inside the Loop do a call web service {Web URL}/_vti_bin/nintexworkflow/workflow.asmx
Then using the StartWorkflowOnListItem start your workflow on each ID that you have gathered..
Where it really works nice is that used in conjunction with Start Variable on the site workflow you can choose options, eg, only gather IDs from items created between these dates or created by this user etc etc..