Announcements
Hi,
I am getting the error on my patch -
Patch('data source',{ID: gblRecordID},{'Date Change Made': Today() });
How can I fix this?
@wonka1234 - typically this is caused when a change is being made to the same record from two different operations. For example running a Flow prior to the Patch, or submitting different Forms which are corrected to the same list etc.
@Amik
So onselect of a button i do this -
SubmitForm(EditForm1_1),
But submit form also does submit this field Date Change Made.
So should i just comment out the Update on this datacard and let the patch do the work?
@wonka1234 - avoid "chaining" the Patch and Submit Form functions together.
The Patch statement should be moved on the OnSuccess property of the Form. You can also update the global variable at the same time with:
Set(gblRecordID, Patch('data source', {ID: gblRecordID}, {'Date Change Made': Today() } ));
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 320 Most Valuable Professional
11manish 210
Valantis 167