Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to get ItemID?

(2) ShareShare
ReportReport
Posted on by 18
A few years ago I wrote a flow to daily check the End Date in a SharePoint library, and update the Status column to Good or Expiring based on utcNOW(). I'm now trying to do something similar in my new workplace, and the whole Power Automate interface has changed.

My previous flow looked like this.
I have gotten this far:
 
I am stuck on this:
Copilot hasn't been very helpful:
My source data is a Document Set in a SharePoint Library, like this. Currently the status is a calculated column which is only accurate when the data are entered. The flow should run daily in the small hours to ensure these are updated daily.
  • Verified answer
    Expiscornovus Profile Picture
    31,732 Most Valuable Professional on at
    How to get ItemID?
    You should be able to select the ID in the dynamic content menu. Alternatively, you can also add it as an expression
    item()?['ID']

    Below is an example
     

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 >