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 / Inconsistent patching ...
Power Apps
Unanswered

Inconsistent patching from button in Power App

(0) ShareShare
ReportReport
Posted on by 22

I have a button in my Power App that patches different fields to two separate SharePoint lists. Ideally these lists should mirror each other when it comes to "created time" and "created by" columns. We have found over the past month that the second list being wrote to seems to randomly not take the patches.

 

For example, earlier this month User A pressed the button and it patched both lists. Earlier this week, they pressed the same button and it patched only the first list. There were no updates published to the Power App and these lists did not have their permissions changed.

 

Does anyone have an idea of what could be causing this?

 

 

Categories:
I have the same question (0)
  • mmollet Profile Picture
    3,187 on at

    Can you share the patch code so we can see if there is anything that could cause this in it? Are any of the fields having issues complex column type?

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @NMatGWM2 ,

     

    As I cannot tell where the issue might rely, I will suggest a code format that would be helpful if consecutive patching is done or even single and detect if anything failed.

    This code helped me as I was doing 4-5 consecutive patches which runs PowerApps code where I observed sometimes operations are fast that it skips the formula at times for Patch.

     

    Use the following syntax:

    IfError(
     Patch(); //Patch 1
     Patch(); //Patch 2
     ,
     Notify("Error occured", NotificationType.Error, 1000);
     false;
     ,
     Notify("Success", NotificationType.Success, 1000);
     true;
    )

     

    Hope this helps in executing correctly

     

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 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard