cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
irossYVR
Frequent Visitor

File move error using Sharepoint List and Document library

Hey all!

 

I am using a sharepoint list to drive an approval process. At the end of a successful approval, (flow works great to this point) Id like to move the referenced PDF from an "In Progress" folder on the site, to an "Approved" folder on the same site.

 

I am unable to get this to work!

 

The error i get is:

"Failed to verify the existence of source object at 'https://XXXXXXXXXX/dlcdocid:{\"@odata.type\":\"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference\",\"Id\":24,\"Value\":\"RELIC-1127581247-24\"}' due to error 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId: 6052b2a2-ee8c-4d0d-84f0-633cda5bce8a\r\nserviceRequestId: 6052b2a2-ee8c-4d0d-84f0-633cda5bce8a"
 
I am not sure how to reference the PDF I am wanting to move. When defining "File to move" Ive tried using the dynamic content "ID" where "ID" is the list ID, ive tried using the ID as "Document ID" but it simply wont work for me.
Screen Shot 2020-11-03 at 11.54.36 AM.png
Do I need to use the prefix "dlcdocid:" when pointing to a Document ID? Do I even need a Document ID to achieve a move?
 
Any suggestions would be greatly appreciated!
 
thanks,
 
Iain
1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @irossYVR 

 

Under the file to move you need the file path and filename.

 

image.png

 

Also the target document library column names should match the destination library column names.

 

Please watch my video tutorial related to this Power Action.

 

https://youtu.be/B9ZxAd9JVVo

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User
Super User

Hi @irossYVR 

 

Under the file to move you need the file path and filename.

 

image.png

 

Also the target document library column names should match the destination library column names.

 

Please watch my video tutorial related to this Power Action.

 

https://youtu.be/B9ZxAd9JVVo

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,393)