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 / Running number in exce...
Power Automate
Answered

Running number in excel by power automate cloud

(0) ShareShare
ReportReport
Posted on by 2
This is the first time I post in this community. I'm basic learner in Power Platform that have some problems to ask for help.
I created an Excel file named 'Test001' to demonstrate how to use Power Automate Cloud to generate running numbers. However, I encountered an error with the running number functionality when manually running the flow every 1-2 minutes. I will provide a detailed explanation below. To begin, I created a table named 'Table1' (shown in the picture below) and inputted the initial data in the first row (ID 1).
 
Next, I created a flow in Power Automate Cloud (shown in the picture below) using two main actions: "List rows present in a table" and "Add a row into a table." This flow aims to generate a running number ID (1, 2, 3, 4, etc.) and a timestamp for each new row added to the table.
I tested the flow in Power Automate Cloud and checked the results in the Excel file (shown below). Rows 3-6 were generated successfully by manually running the flow every 4-5 minutes. However, when I generated row 7 around 1-2 minutes after row 6, the running number was incorrect. The ID should have been 6, but a different value was generated instead. Upon inspecting the "List rows present in a table" action in Power Automate Cloud, I noticed some errors (shown in the picture below). It seems that Power Automate Cloud might require a waiting period before generating the next running number. Is it usual for Power Automate Cloud or Excel? if I adjust this flow for continuous flow, I should add action "Delay" in this flow in each loop? I would greatly appreciate any insights or suggestions from the community to help me. Thank you in advance for your time and assistance.
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,978 Super User 2025 Season 2 on at
    Edit the trigger of your flow and turn on concurrency and limit it to 1. When you set the concurrency settings of the trigger action in a Power Automate flow to 1, it ensures that only one instance of the flow runs at a time. Any additional triggers that occur while an instance is running are queued and will execute sequentially, one after the other. This prevents conflicts or errors that could arise from simultaneous executions, making it ideal for scenarios where actions depend on the state of shared resources. You can monitor the queued instances and their execution status in the flow history to understand the flow’s behavior and troubleshoot any issues.


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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard