Sep 07 2016 07:43 AM
Dear all,
I have developed a SPD workflow where it takes the first 8 characters of the filename and adds it to a column within the document library. Tested and everything works when user uploads a new document.
In the document library we have over 20k documents already there, is it possible to run the workflow against all the documents already in the library?
You advise always appreciated.
Cheers
Sep 07 2016 03:15 PM
I would suggest using Powershell to update the existing items or for batch processing, even though you can achieve this using workflow.
Sep 07 2016 04:49 PM
A PowerShell script will be your best approach. You can loop through all the items in the library and call the initiate the workflow for each item. You'll be able to use the same workflow to handle existing items as well as future itesm.
Sep 08 2016 12:42 AM
Dear all, Unfortunitally I do not have the correct permissions to use Powershell on the site. Is there another way ? You mentioned using a workflow? If you could let me know the logic would be much appreciated.
Cheers
Sep 08 2016 01:43 AM
Please check this blog post by @Laura Rogers https://wonderlaura.com/2014/08/01/workflow-loop-through-multiple-sharepoint-items/.
Sep 08 2016 02:01 AM