Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Permanently increment number - Run flow in sequence

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

i am trying to update some of my previous flows since i ran into some issue when doing it the way i have done previously.

 

I have a working flow for my Planner. When i create a new task it adds a number based on this I have a working flow for my Planner. When i create a new task it renames the tasks, adds number based on an excel sheet number and then adds one to that number.

 

However - when i create multiple tasks at once it would use the same number again and again since they run parallel.

 

Now the question i have is: Can it somehow be done that initialize a variable in the flow, increment it by 1 and STORE the result in the first variable? 

 

If someone has a neat idea that would allow me to not run into the issue of multiple tasks being named the same it would be highly appreciated.

 

Bes wishes

 

  • Verified answer
    v-chenzhi Profile Picture
    on at
    Re: Permanently increment number

    Hi @BHR,

     

    Do you want to limit the number of concurrent flow?

    I have a test for your reference, please try the following workaround.

    Inside Settings, find and enable Concurrency Control, and set Degree of Parallelism to 1.

    This setting is how many runs can run in at one time.

    vchenzhi_1-1637804435674.png

     

    Best Regards,

    Zhi Chen

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Permanently increment number

    @ScottShearer 

     

    As mentioned here is the flow - i had to translate the single steps from german so they may not fit perfectly to the english version.

     

    it may be that step 2 is irrelevant but it is one of my first flows as I did it ^^. 

     

    (1) Upon a new task the flow checks an online excel file.

    (2) That excel-file adds up all cell numbers in the table into cell A1. 

    (3) adds a new cell with the value 1

    (4) checks the value for A1 and uses that value now

    (5) Changes the Planner Task name to "Value from step 4" + "original tasks name"

    (6) other fancy stuff.. ^^'

     

    PA_flow.png

     

    I do think it is a minor issue but it would be great if i could make that flow now run in parallel or have another way to increment the values. 

     

    Thanks for helping

  • Verified answer
    ScottShearer Profile Picture
    25,228 Most Valuable Professional on at
    Re: Permanently increment number

    @Kastore 

    Using variables when actions are performed in parallel may produce unpredictable results.  One way around your issue is to restructure your Flow so that it does not run you actions in parallel.

    If you need more help, please post a screen shot of your Flow.

     

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492