cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Move a file with an unknown destination folder

Good morning all;

 

Well, in fact we know the destination folder. The question is that we can't write the path explicitly like:

 

/Projects/construction_test/06.Production/06.03.T_office

 

We want to move to a folder with a structure like:

 

/Projects/XXXXX/06.Production/06.02Production/YYYYY/ZZZZZ

 

The names: 'Projects', '06.Production' are common in all the cases. However, "XXXXX", "YYYYY" and "ZZZZZ" are different names according to the original path file.

 

For example:

 

/Projects/Construction_ABC/06.Production/06.02Production/06.02.01Relations/06.02.01.01Working 

should go to:

/Projects/Construction_ABC/06.Production/06.02Production/06.02.01Relations/06.02.01.02Sent

 

/Projects/Construction_FGH/06.Production/06.02Production/06.02.03Certifications/06.02.01.01Working

should go to:

/Projects/Construction_FGH/06.Production/06.02Production/06.02.03Certifications/06.02.01.02Sent

 

Any idea? Any tip or idea will be welcome. Thx.

1 REPLY 1
DeepakS
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

To move the file, you need to tell Flow where the file should go, you have two options
1) add the Logic in the Flow based on the requirement. You may need to update Flow whenever you have a new folder mapping
2) Manage the source/ destination mapping in SharePoint or Microsoft List and Let flow query this list based on source path and get the destination path

 

Regards,

DS

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,345)