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 / Network error when usi...
Power Apps
Unanswered

Network error when using Patch function: Conflicts exist with changes on the server, please reload

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I am getting the error on my patch - 

 

Patch('data source',
{ID: gblRecordID},
{'Date Change Made': Today() }
);

 

How can I fix this?

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @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.

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @Amik 

     

    So onselect of a button i do this - 

     

    Patch('data source',
    {ID: gblRecordID},
    {'Date Change Made': Today() }
    );

    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?

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @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.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard