
Announcements
Hello guys,
we are trying to automate the following process:
We upload several Invoices to our Sharepoint Folder "Entry"
The Folder is synced with OneDrive to our PC's
To assign an approval to person x - the team leader moves the file from "Entry" to subfolder "X"
Now it should fire a trigger to assign an approval via MS Teams
Can you help me to detect when the file is moved or how i get back the path to where the file is moved?
Best regards
Max
Hi there,
When a document moves in the same library, a flow can't be triggered. It just doesn't see it.
Check this post:
Your best option here is to do one of the following options:
1) Teach your Team Lead how to, instead of manually moving their file, to use metadata in SharePoint to choose a name from a dropdown for assignment. This would then trigger a flow to move the file AND send the approval.
OR
2) Create another list that tracks what's "currently" in the Entry folder, then have a recurring flow that checks for any changes, finds the files that are no longer in "Entry", and then assigns a task to the appropriate folder based on the new folder home.
I'd go with #1 if you can get the Team Lead to agree to it!
Cheers,
Rhia