cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rlinsangan
New Member

How to increment variable in which initialize variable value is 0001.

I have created a flow that gets triggered when a file is created, my major requirement is to have library column that dynamically assigns a unique code which begins with 0001 followed by 0002, 0003, 0004 and max of 1000. I can do this if the requirement is 1,2,3,4,5 until 1000 by using increment variable, please advise. 

 

doc code.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
rlinsangan
New Member

Re: How to increment variable in which initialize variable value is 0001.

Hi @edgonzales 

 

 

This has been resolved, my client just simplified the number format from 0001 to 1000 , hence my current flow works for this. 


Thanks,

Ryan

View solution in original post

2 REPLIES 2
Super User
Super User

Re: How to increment variable in which initialize variable value is 0001.

@rlinsangan 

Hi there.  Are you storing the Doc Code someplace (like an SP list)?  Where is that information going currently?

 

-Ed-

 

 

rlinsangan
New Member

Re: How to increment variable in which initialize variable value is 0001.

Hi @edgonzales 

 

 

This has been resolved, my client just simplified the number format from 0001 to 1000 , hence my current flow works for this. 


Thanks,

Ryan

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (9,052)