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 Apps / How do I detect if a r...
Power Apps
Unanswered

How do I detect if a record has been changed?

(1) ShareShare
ReportReport
Posted on by 117

I am very new to PowerApps and have been working on my first project. I need to set up a function to send an email when a user changes any field on a form. I now have the form set up and the Save Icon works. I have figured out how to send the email and it all works well. However I have little doubt that most of my users will use the Save Icon instead of the Cancel Icon every time they exit which means an email will be sent telling me they've made a change even though they may not have changed a thing. Is there a way I can detect if a record has been changed so that I don't send the emails every time a record is viewed?

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can look at the Unsaved property of the EditForm control; your formula for the save icon would be something along the lines of the snippet below.

    If(EditForm1.Unsaved, Office365.SendEmail("you@contoso.com", "Changes submitted", "Changes were submitted for the record"));
    SubmitForm(EditForm1) 
  • dave-jorgensen Profile Picture
    502 on at

    Just adding this here for others searching for this topic:

    the unsaved property is VERY unreliable. Anyone with any experience trying to use it will simply say "don't use it". Lots of reports in here of the problems users have (and lack of support from Microsoft).

  • SteveCochrane Profile Picture
    219 on at

    Many thanks! I have been seeing this, too. Many have said that if the form has any unlocked cards, the UnSaved property will always return true. So, even if it's working for an "out of the box" form, once someone unlocks any card, this property will break. Avoid at all cost!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard