Hi There - I am new to PAD and have created a few flows. I am not a trained coder but keen to improve. I created a flow to move a number of named files from a range of subfolders into a different set of folders based on their filename which in each case has a 4 digit SKU.
My flow works and did its process with a text output to match, however it took hours to run and there must only have been about 500 files or less. Can you provide me tips on how I would do this more efficiently?
Ive included the flow in the screenshot with annotation
In sum I:
- get files in folder and put in a list
- get folders and put in a list
- loop through the file list and parse the name looking for folders to match
I did try looping through folders thinking there were fewer folders but with files I can remove them from the list as I go. Still clearly I am not doing this the best way.