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

Move existing files in folder when a new file is added

Hello,

 

when a new file is added to a folder then i want to move all the existing files in that folder to other folder i.e a backup folder

 

the main folder should have only the newly created file

 

thanks  in advance 

3 ACCEPTED SOLUTIONS

Accepted Solutions
v-LilyW-msft
Microsoft
Microsoft

Hi @Bk17 

According to your description, you want to move existing files to another folder when a new file is added

I created a simple flow, please take a try with the following screenshots.

This is my two Folder

vLilyWmsft_0-1626744055804.png

vLilyWmsft_1-1626744055808.png

vLilyWmsft_2-1626744055811.png

vLilyWmsft_3-1626744055822.png

When the file created in Main Folder

vLilyWmsft_4-1626744055826.png

After flow runsthe other files will be moved to Move Folder.

vLilyWmsft_5-1626744055827.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi,

 

below are the screenshots

 

Bk17_0-1626952376923.pngBk17_1-1626952412277.pngBk17_2-1626952442302.png

 

View solution in original post

v-LilyW-msft
Microsoft
Microsoft

Hi @Bk17 

Please check if the selected IDs are correct one more time.

vLilyWmsft_0-1627007413717.png
vLilyWmsft_1-1627007413723.png

vLilyWmsft_2-1627007413728.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-LilyW-msft
Microsoft
Microsoft

Hi @Bk17 

According to your description, you want to move existing files to another folder when a new file is added

I created a simple flow, please take a try with the following screenshots.

This is my two Folder

vLilyWmsft_0-1626744055804.png

vLilyWmsft_1-1626744055808.png

vLilyWmsft_2-1626744055811.png

vLilyWmsft_3-1626744055822.png

When the file created in Main Folder

vLilyWmsft_4-1626744055826.png

After flow runsthe other files will be moved to Move Folder.

vLilyWmsft_5-1626744055827.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

 Hello,

 

Can this be used for onedrive 

Hi @Bk17 

If you want do this in OneDrive.

Please take a try with the following screenshots.

This my Folder in OneDrive.

vLilyWmsft_0-1626931265939.png

Flow in details:

vLilyWmsft_2-1626931344947.pngvLilyWmsft_3-1626931480479.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I’m not sure where the flow is failing all the files including the new file is being moved

DE8E68B2-6BCC-4B5E-A3B0-87E4EFB91D73.jpeg

Hi @Bk17 

I have made a test on my side and it can work fine.

Could you please provide more screenshots of the Flow configuration?

Best Regards

Hi,

 

below are the screenshots

 

Bk17_0-1626952376923.pngBk17_1-1626952412277.pngBk17_2-1626952442302.png

 

View solution in original post

v-LilyW-msft
Microsoft
Microsoft

Hi @Bk17 

Please check if the selected IDs are correct one more time.

vLilyWmsft_0-1627007413717.png
vLilyWmsft_1-1627007413723.png

vLilyWmsft_2-1627007413728.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,166)