Forum Discussion
Donahueaustin
May 06, 2022Copper Contributor
SharePoint Online Question - Approval Question
Hi, While trouble shooting my document control system on SharePoint I discovered an obstacle and was wondering if anyone knows a solution. I am using a document library in SharePoint online, combine...
mr_w1nst0n
May 06, 2022Iron Contributor
Hi Donahueaustin,
the only ideas that came to my mind are:
- Hide the Move To/Copy buttons (if possible with the Modern UI)
- Add a Custom column in your library plus update the logic of your Power Automate to update the value once the approval is done
- Create a new Power Automate that run every X time and fire an email for all documents that remained with the custom column value set
The main problem, from SharePoint perspective, is that the Move/Copy To option imply that the file is already uploaded in the system.
Because the file is already uploaded and the end-user is just moving it from a library to another, Power Automate skip the file.
- DonahueaustinMay 06, 2022Copper ContributorThank you mr_w1nst0n for your ideas!
Do you know if there is any SharePoint trigger that would be triggered if a file is added to the library through the "MoveTo" functionality?
I cannot find a trigger for document library that does that. Only if a file is modified which is the one I am using now.
Thanks- mr_w1nst0nMay 06, 2022Iron Contributor
Hi Donahueaustin,
No, there is no trigger concerning the "MoveTo" functionality in Power Automate.
As I said, the other possible approach is to use a custom column then use it in Power Automate to do something similar:
Get Items -- path of your Library in SPO
Apply to each value
If custom column is equal to $true (Expression)
YES - Send email alert for manual fix
NO - Do nothing