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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Project number assigne...
Power Automate
Unanswered

Project number assigned automatically

(0) ShareShare
ReportReport
Posted on by 207

Hey Guys, I need you help...

I want to set up an automation where a form survey is conducted. This survey should be sent directly via email as a PDF. In the subject line, I would like to automatically assign a project number. Starting with the year (24), followed by the letters AU as an abbreviation, and ending with a numbered sequence. Starting with 0001, 0002,...    24AU0001

I have completed a form survey. I also receive this survey as a PDF via email. But how do I automate the numbering and keep it updated? So that each time a survey is submitted, a new order number is assigned.

Thank you!

Screenshot 2024-03-20 154527.png

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    You need to save the Newly generated ID somewhere, for instance a SharePoint list.

    Get the Current value in a Variable, then generate the Project Number using string manipulation

    Get Year

    formatDateTime(utcNow(),'yy')

    Get padded number

    formatNumber(variables('Incremented Number'), '0000')

     

  • LucaNeedsHelp Profile Picture
    207 on at

    Hi SudeepGhatakNZ,
    first thank you for your help!

    I am really new to Power Automate, and I do not really understand what you mean. Could you describe it in more detail, maybe with some photos?

    That would be awesome!

    I tried it with Excel. Power Automate simply gets the number from an Excel table where the number is generated. I would just have to make sure that a column is always filled by a trigger, as the number is made up of all the characters in a column. The number in column F is then "0000". If there is a character in four cells in column F, it automatically becomes "0004". The question would then also be if I do it this way how to always get a new cell described.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @LucaNeedHelp 

    Hope that helps!

     

    I have stored the initial ID in a excel file and I keep updating it after every flow run.

     

     

    SudeepGhatakNZ_1-1711096439028.png

     

    SudeepGhatakNZ_0-1711096415544.png

    SudeepGhatakNZ_2-1711096599304.png

     

    SudeepGhatakNZ_3-1711096650744.png

     

  • LucaNeedsHelp Profile Picture
    207 on at

    Okay, but is it still working, if the Temas Excel list is closed? How is the list updatet? I have filled out the forms several times in a row and then the list does not update if it is not open.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard