Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

How would you! Identify a field has been changed to a specific value and been saved to source

Hi all,


Not sure what my problem is today, possibly over thinking this!


I have a combo box field that when Closed is selected and is saved, I want to patch and track that in a comments box (with some specific details).


OnChange is fine, but if a user doesn't save it or then goes back to a different status then the update shouldn't happen.  I also thought about OnSucess of form submit to check the status, but I'd need to compare to the original value to know it was changed!


What would you recommend?


Solution Sage
Solution Sage

Super User III
Super User III


Your easiest path would be the OnSuccess.  As you mention, simply compare the original value with the LastSubmit value of the form.  If different, then do what you need.

If what you need to do is to the same datasource, then you can do that within the form itself much easier.  In other word, if the Comments that you want to append to is part of that same record, then just consider the Update property of the Comments datacard in your form to do it.



Comments Update property:

If(ThisItem.fieldForCombobox <> yourCombobox.Selected.Value,
   ThisItem.Comments & "some new comments",


I hope this is helpful for you. 

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (79,342)