Hi,
I have a Problem with trying to change the colum-properties of a file/folder.
So, I created 2 Flows. The first one creates a folder in my Sharepoint library, when i make a new list-entry. The second flow changes the colum-properties of this folder, whenever the list-entry is edited. The flow lists all of the file-properties in the parent-folder and looks, if the name of any of them match the title of the list-entry.
But for whatever reason, it does not list the newly created folder from the first flow (the conditon: if title (list) = name (file)
, is always false). I looked into the output-file of the "apply to each" command, and there it lists every other folder, but not the new one. Does it take time to recognize a new folder ?
(As u see in the picture. The flow also changes the properties of a planner-task, and that works perfectly fine)
i hope u can help me 🙂
(i blacked out the lines, because i dont want to get in trouble with my company)
Ok I found the solution. I needed to increase the limit of items "get files" could put out in the settings.
The folder-creation happens in another flow. So I make a new entry to the list, the folder is created. Then I edit the list-entry, another flow is triggered and it edits the column-properties of the folder. I waited over an hour in between those 2 actions but it still doesn't work.
I actually just found out, that the "get file (properties only)" only lists 79 items even though there are more than 100. So its not just the new folder, that is missing
Hi @Anonymous
One workaround is to pause the execution of flow before searching the newly created folder. You could use "Delay" action & set 2-3 minutes to pause the flow's execution.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks