cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
a-arc
New Member

Moving a file after approbation

Dear all,

 

I'm trying to automate an invoice validation process in my firm, but I can't seem to figure out the part about moving the file automatically after approval.

 

Flow is built as follow:

  1. When a file is created in the folder, create a share link
  2. Start and wait for approval (file linked using the share link created previously)
  3. Once file is approved, move it to a specific folder. If it is denied, move it to another specific folder.

The automation does create approvals automatically, but can't seem to move them after their approval (see below for details)

https://ibb.co/zx3hj0W

If you have any ideas I'd be so grateful, thanks !

4 REPLIES 4
fchopo
Super User
Super User

Hello @a-arc 

By the screenshot you shared, it seems you're using a OneDrive variable in "addresse du site actual" and id in the "ficher a deplacier". That's not correct, since you need a valid SharePoint URL and a valid file name?

Is the file to be move stored in SharePoint or in OneDrive? If it's in the latest, you should use OneDrive actions accordingly.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Hi Ferran !

 

Thanks so much for your input. I've tried using OneDrive actions but my flow failed either way. The files are stored on a sharepoint server, but the interface used is OneDrive Entreprise - so I'm not sure which one to use. 
The beggining of the flow uses OneDrive Capture d’écran 2021-04-27 085138.png

Here's what I've tried with OneDrive also :

Capture d’écran 2021-04-27 090405.png

 

Any ideas ? 🙂

fchopo
Super User
Super User

Hi @a-arc 

In the condition you should check for "Approve" instead of "Approver".

Try it and let me know.

Regards,

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

The support documentation for Microsoft Flow in french stated that conditions may check for "Approuver" ou "Rejeter" (frech terms for approved and rejected) - so I don't think that's where the problem is coming from - but I'll try it out and keep you posted. Thanks so much 🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (2,459)