Forum Discussion
Trying to create approval request in power automate to move file.
The file link that you have to validate need to be appended on the 'Item Link' property in order to have it available in the Outlook approval process
triggerOutputs()?['body/{Link}']
Then, it will make an approval request along with the file link in Outlook.
And use the relative path of the file to move it to the 'Reject Document' folder.
triggerOutputs()?['body/{FullPath}']
Let me know if this helps.
- nikhiluppalJan 31, 2024Copper Contributor
Thank you helping me.
The first part of the error has resolved as soon as I attached the link to item in SharePoint action.
But the second part of the error is still not resolved as I tried using /Fullpath in SharePoint action when document is rejected. It is showing me following error message
"Failed to verify the existence of source object at 'https://5c8rtl.sharepoint.com/sites/PowerAutomateWorkshop/Approvals Library/How to create a model-driven app using the classic designer.pdf' due to error 'The system cannot find the file specified."
I have also attached the screenshot of the error message as well as of the flow.
It will really helpful if you could please guide me on the error message.
Thanks
Nikhil
- SanthoshB1Feb 01, 2024Bronze Contributor
The error indicates that the source file, which is being attempted to be moved to the reject folder, is not available. can you confirm this on the below path?
If yes, upload a file again and make a retest. Let me know if this helps.
- nikhiluppalFeb 01, 2024Copper Contributor
Thank you for your help. The file was there it has special characters in its name which was causing some issues. I renamed the file and it worked.
Thank you once again for your help.
Thanks, and Regards
Nikhil