For example, when a scanner scans to a sharepoint library, users need to move it to another document site. How can I accomplish to move automatically with Flow.
I tried the;
Sharepoint - Create File
Create File (in another location)
This does nothing...
Solved! Go to Solution.
What is your trigger event? You mentioned when a scanner scans a SharePoint library. Is this a document library list item column field? Can you please explain?
Lets say we have a scanner that successfully scan's documents into a folder on SharePoint Online at;
Going to try this now. But looking at your example, will this only copy it and leave the original? What if i wanted to 'move' or rather, copy it then delete the original (whatever is easier)
Also, maybe this is a dumb question, but when i update the flow and click done, does it take effect immediatly or does it take a few to propagate out?
It worked! Thank you so much! I also answered my own question and it took effect right away.
Still curious about my delete question above though...
You should be able to delete the file using the Delete file action. It won't be atomic in the sense that it is possible that the copy action succeeded but the delete action failed - but should work most of the times unless you run into some permission issues.
Generally it could be done by adding a Delete action after the copy action:
Make sure you have the folder path and the file name generated rightly with the one which you would like to delete.
Hope this is helpful.
Since its a scanner and the name should be unique to each scan, will doing it that way always delete the original source file that it just copied? Just want to make sure it doesnt delete anthing else...
Error log from my revision to the delete flow is as follows...
The error from when i set it up exactly as you suggested is as follows...
Has anyone been able to figure out how to either delete or actually move a file from one location to another?
File is created / uploaded to folder Review
Email is sent to reviewer
Reviewer accepts or rejects
If accept = Y, then copy file in folder Review to folder Accepted then delete file in folder Review
If accept <> Y, then copy file in folder Review to folder Rejected then delete file in folder Review
i just got the deletion working.
I tried to use path and file names - failing with the errors posted before.
Just use the "File identifier" like this (sorry, for the mix of german & english):
The path to the document library or folder is not needed for the deletion when you use the "File identifier".
"File identifier" is not working with "File name" as far as i can tell now.
You saved me from pulling out my hair! I totally overlooked File identifier listed on the left. I also tried file name and path first.
Did anyone get the "Copy file" action working cross site? (same site collection)
Works within one site, but not copying from a library in a top site, to a library in a sub site.
If you want to move SharePoint documents cross-site, you can use the Move SharePoint Document from Library action to move a file to nested structure of folder.
This action is in "Plumsail SP" connector, which is a part of Plumsail Actions product.
Note, it is a paid third-party solution. But it provides a rich set of actions that simplify working with SharePoint, permissions, and documents.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Many congratulations to the Season 1 2021 Flownaut Crew!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
Check out the community blog page where you can find valuable learning material from community and product team members!