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 / Comparing list item ve...
Power Automate
Answered

Comparing list item versions in a Recurrence flow

(0) ShareShare
ReportReport
Posted on by 351

I have a Recurrence flow setup that checks once per day if certain items in a SharePoint List have been modified and compiles these into a single email. I use a filter array to compare the modified date with the current date:

 

formatDateTime(item()?['Modified'], 'yyyy-MM-dd') Is Equal To formatDateTime(utcNow(), 'yyyy-MM-dd')

 

I would like to add another check (perhaps second filter array?) to compare whether the current and previous versions of the item is the same so that I'm not sending updates if it hasn't changed. If I was using the "When an item or file is modified" trigger this would be straight forward, but I need the recurrence in place to be able to compile the changes rather than send emails for each one separately. Is there an Action or Expression I could use to check for this?

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    You could use a REST call to get the previous version of the item.

    Get Previous Versions of SharePoint List Items in Flow (catapultsystems.com)

     

  • Power_Automater Profile Picture
    351 on at

    Going through the link it suggests to use a Compose to get the previous version number but it doesn't explain how to check if the value of the two versions matches. Could you add a bit more detail on this part please.

  • Verified answer
    Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    You have to retrieve the metadata for the previous version and then compare the specific fields you want to compare.  There is no way that I know of to compare the actual records directly.  To retrieve the values in the previous version it would be the following REST call

    _api/web/Lists/getbytitle('MyListName')/items(ITEMID)/versions/{version-id}?expand=fields

    That should return JSON that you can Parse to get the individual field values.

  • Power_Automater Profile Picture
    351 on at

    Sorry I'm not quite sure how to use what you have suggested, but thank your response. I have instead decided to use a choice field to control whether or not the changes should be ignored. This works for my purposes

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard