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 / Permanently increment ...
Power Automate
Answered

Permanently increment number - Run flow in sequence

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

 

Categories:
  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @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.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @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
    v-chenzhi Profile Picture
    Microsoft Employee on at

    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

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard