Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow Adds New Sequential Number to SharePoint List

(1) ShareShare
ReportReport
Posted on by 4,884 Super User 2025 Season 1
I would like to know whether I can build a Flow that will trigger when an item is added to a list (Production list),
Get the items from a second list (Load Numbers list), compare the content of the trigger ('Production list') Equipment
Number column to the Equipment Number column of the Get Items (Load Numbers list), and delete that number
from the Get Items (Load Number list)?

Also, update the Get Items (Load Number list) Equipment Number column by adding one new number to the list.

Example:
User activates a dropdown, populated by the Load Numbers list Equipment Numbers column, and chooses the next
available number.

The user submits the data to the Production list, which triggers the flow.

The flow Get Items retrieves the content of the Load Numbers list Equipment Number column and compares those numbers
to the new item in the Production list, specifically comparing both 'Equipment Numbers'.

If the new item in the Production list has an Equipment Number that is also in the Load Numbers list delete that Equipment
Number from the Load Numbers list.

Then, look for the last Equipment Number in the Load Numbers list and add a new Equipment Number that is one higher than
the last number - (I.e. - If the last number in the Load Number list is 2345, flow will add to the Load Number list the number 2346).

 
  • Phineas Profile Picture
    4,884 Super User 2025 Season 1 on at
    Flow Adds New Sequential Number to SharePoint List
    Yep; that's what I had in my head.

    Wanted confirmation before build.

    Thank you!
  • Verified answer
    Pstork1 Profile Picture
    66,758 Most Valuable Professional on at
    Flow Adds New Sequential Number to SharePoint List
    Yes its very possible.  
     
    1) Automated trigger on Production list
    2) Get items from Equipment list filter on equipment number
    3) Loop through resulting records and delete them.
    4) Add new number to the Equipment list.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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 >

Featured topics

Restore a deleted flow