Recently a new set of triggers was added to the Microsoft Flow SharePoint connector as I described in When a file or item is deleted triggers post.
I did not realize that the When a file is created or modified (properties only) trigger was also extended. Until I noticed some flows reporting the following error:
The Failure summary shows a “file XYZ doesn’t exist”. How can a file be modified and then not exist:
When I checked the site I noticed that these files were deleted and this is now seen as a modification to the file. I’#m not sure if this is a bug or not, but it is quite an annoying one.
- I will have to update my flow to check if the file that is modified actually exist
- I will now get more unnecessary runs of my flow
- The When a file is created or modified (properties only) trigger should be renamed as this is confusing