cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lottiwurm
Helper II
Helper II

Change filename during flow, by user input mask

Hi there

 

I have an standard approval flow. file is coming in through a dropfolder (when a file is created) and approval is done by "Start an approval". If approved, the file will be moved in another folder (by "create file" and "delete file"). Now I like to give the user the possiblity to add a number to the filenname during the approval flow. The story behind is, that the document is an invoice and the user has to add the booking number (from ERP) for the accountant. 

 

Is it possible in general to let the user add something to a filename during a flow? And if yes, how can this be done?

 

Below you can see my flow as it is at the moment, for better understanding

invoice approval flow.png

 

Thanks in advance for helping me again! 🙂

 

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
VJR
Super User
Super User

Hi @lottiwurm 

 

When the approver approves it, s/he will get the comments box.

 

Option 1:

- Ask them to enter the ERP Booking number in that box

- And then in the Flow prefix that Booking number to the file name (by renaming it) and then move it.

 

Option 2:

- Directly ask them to rename the file with the ERP booking number and ask to enter the new file name in the Comments box

- The flow will then take this new file name and move the file

- In this option, due to a human error, the user can enter an incorrect file name which may not exist and the flow will not find that file in order to move it.

 






-------------------------------------------
Help fellow beings find relevant posts.
Upvote to a supporting response.
Mark as solution to an answer.

View solution in original post

2 REPLIES 2
VJR
Super User
Super User

Hi @lottiwurm 

 

When the approver approves it, s/he will get the comments box.

 

Option 1:

- Ask them to enter the ERP Booking number in that box

- And then in the Flow prefix that Booking number to the file name (by renaming it) and then move it.

 

Option 2:

- Directly ask them to rename the file with the ERP booking number and ask to enter the new file name in the Comments box

- The flow will then take this new file name and move the file

- In this option, due to a human error, the user can enter an incorrect file name which may not exist and the flow will not find that file in order to move it.

 






-------------------------------------------
Help fellow beings find relevant posts.
Upvote to a supporting response.
Mark as solution to an answer.

Thank so much, VJR, i just didn't saw the command field and didn't thought, that I can do anything with it. works great!

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 (4,108)