Announcements
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?
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)
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).
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 356 Most Valuable Professional
11manish 225 Super User 2026 Season 2
Mohsin Ali 211