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 / ADD A VALUE IN THE VAR...
Power Automate
Answered

ADD A VALUE IN THE VARIABLE FOR ALL ITEMS

(0) ShareShare
ReportReport
Posted on by

I HAVE A FLOW THAT I NEED TO ALWAYS UPDATE THE LIST AND CREATE THE ITEMS AGAIN, THAT WORK

 

WHAT I NEED TO DO IS CREATE A UNIQUE ID ALWAYS STARTING FROM '1' AND THIS ID WILL ADD TO ALL ITEMS

 

EXAMPLE:

 

ITEMID: 8484

IDCOPY: 1

 

ITEMID:8485

IDCOPY: 2

 

ITEMID:8486

IDCOPY:3

 

I HAVE A FLOW THAT CREATES A UNIQUE ID, BUT IT ONLY CREATES ONE ID, IT WILL NOT ADD FOR EVERY UPDATED ITEM

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @Gorilla_8 

     

    What do you meant by it will not add for every updated item? Do you want to generate the id only for create item? Why update? Could you please clarify?

     

    Thanks

  • Gorilla_8 Profile Picture
    on at

    @abm 

     

    Sure.

     

    I wanna add a unique id for each item starting always on number 1 anda increment...

     

    The another item 2, the another one 3... And so until finish

  • Verified answer
    VictorIvanidze Profile Picture
    13,083 on at

    Use "Increment variable" action - what's the problem?

  • Verified answer
    abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @Gorilla_8 

     

    Like @VictorIvanidze  mentioned you could use the increment action step.

     

    image.png

     

    Are you looking for anything specific. If you looking to run the flow on a daily basis or a trigger based event for the same scenario then you need to filter the current list ID ORDER by Desc and get the first record to find the last ID. Then increment the ID and assign to the next one.

     

    Thanks

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard