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

Community site session details

Session Id : 1Xt/CNj1hosCL/ZWiIZ83v
Power Automate - Building Flows
Answered

Permanently increment number - Run flow in sequence

Like (0) ShareShare
ReportReport
Posted on 22 Nov 2021 14:18:56 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 25 Nov 2021 at 01:43:27
    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 24 Nov 2021 at 09:41:26
    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,236 Most Valuable Professional on 22 Nov 2021 at 15:26:47
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete