web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Autogenerating a uniqu...
Power Automate
Unanswered

Autogenerating a unique ID number

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I want to be able to create a unique ID number for any document added to my document library beginning at 1186 

 

I have built a new flow to automate a document approval process within by business however I can't find a way to auto generate an ID number at a starting point of my choosing (in this case 1186)

 

I thought initially about using the ID number automatically generated by the library itself + 1185 to generate my number but I can’t seem to find a formula that will work. 

 

Short of adding over 1000 documents to the library just to get the ID number to where I need it to be, I’m lost for solutions. 

 

Is there anything flow can do to automate this process?

 

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I have made a test on my side, you could refer to screenshot below to create the flow:

    Capture.PNG

     

    Th flow would run successfully as below:

    Capture.PNG

     

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-yuazh-msft

     

    This works perfectly, thank you so much

  • Community Power Platform Member Profile Picture
    on at

    Hello @v-yuazh-msft ,

     

    Your solution and screen shots were extremely helpful! I ran into an issue using th ID field though, I need it to count by 1. It needs to start at 6045 and then increase by one each submission (i.e, 6046, 6047, 6048). What can I repalce the ID with to make this happen?

     

    Thanks!

  • Community Power Platform Member Profile Picture
    on at

    You could initialize a variable at the beginning of your Flow and set the initial value to 6045, and then increment that by 1 each time you process a submission?

  • GPronnya Profile Picture
    74 on at

    How would you do the incrementation? 

     

    Is it possible to incrementation for a newly created Row in Excel?

     

    Thanks in advance,

  • earlylearner Profile Picture
    58 on at

    Is it possible to create something with letters and numbers?

     

    This is when a new email is being saved on the sharepoint and for every email saved - a document number is created (but based on the subject) @v-yuazh-msft 

     

    for example like DOC1001, DOC1002?

  • ques0buffet Profile Picture
    105 on at

    use the string concant expressions.


    concant('doc', ID field)

    ques0buffet_0-1626651873221.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard