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

Add zeros to file name (within Apply to each)

Hello guys, i need your help once again!

I have created a flow (see below) which takes answers and files uploaded from MS Forms form, renames it according to the answers and adds a number at the end in order to have it numbered in case of multiple documents - therefore Apply to each comes in. For now i have figured out how to add numbers, but not the format i want.

 

I would like to have the number with 3 digit format, therefore i need to add either one or two zeroes (003 or 010). I have found this article https://powerusers.microsoft.com/t5/Building-Flows/Add-Leading-Zero-s-on-Number-Input/m-p/189198, but cannot figure out how to incorporate the solution into my flow.

 

Could anyone help me?

 

THANKS in advance!

 

 

part 1part 1part 2part 2

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @Rejdy 

 

Use Format number action step. Set the format to custom and enter 000

 

image.png

 

The above will result 003.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
Super User III
Super User III

Hi @Rejdy 

 

Use Format number action step. Set the format to custom and enter 000

 

image.png

 

The above will result 003.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Thanks a lot @abm !

Worsk like a charm.

Excellent, thank you for sharing.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (49,954)