I have a simple flow which up to recently was working fine. The intent of the flow is to update file properties of all files in a specific SharePoint folder. The "Get Files (properties only)" step is no longer working.
I have verified that the site address and the folder in the "Limit Entries to Folder" selection are correct. The flow was working fine last week (see duration), by now suddenly succeeds in milliseconds and is not locating any files.
When I look at the run history at the Get files (properties only) step, I see this, where the value field is [ ]. When it successfully runs, the value field contains all the field information.
What am i missing??
I don't understand how adding the Include Nested Items "No" made this work. The file is located alone in a folder that does not include any other subfolders.
I re-verified that the file was in the right location.
I got it to work, but only after making this change:
What you are seeing means when your workflow ran, it found no files in the specified folder. Are you sure there were files located in the specified folder when the workflow ran? You can use a condition with a length expression to see if the Get files action returned any data. You can then branch down the yes side if files are found and down the no side if not. This is an example of the expression with a Get items action:
length(body('Get_items')?['value'])