Skip to main content

Notifications

Building Power Apps
Unanswered

Patch works only for me

Posted on by 11
I have a bit of a conundrum and I’m not sure where to start looking for the problem. This piece of code runs as intended when I run it. But it didn’t work
for 3 other people.
 
The code looks something like this:
If(
   IsError(
       Patch1 to DB 1 using (defaults) with newID;
       Patch2 to DB 2 using defualts) with newID;
   ),
   Show error screen & send e-mail,
   Show success screen and delete record with oldID in db 1
)
 
For me it runs patch 1&2 and then shows the success screen and deletes the old record in db1.
for everyone else it just shows the success screen and deletes the old record in db1. It doesn’t create 2 new records in SharePoint lists 1&2.
Categories:
  • timl Profile Picture
    timl 31,447 on at
    Patch works only for me
    Hi Samand
     
    You can try inviting one of the other users to a Monitor session. The trace may help you identify the cause of this problem.
     
  • Samand Profile Picture
    Samand 11 on at
    Patch works only for me
    Hi WarrenBelz

    I’ve checked the permissions and the users have edit rights to the SharePoint lists. A user was able to create a new record through a different process. He was also able to amend the data in the current record. If there was an issue with permissions, this wouldn’t have worked.
  • WarrenBelz Profile Picture
    WarrenBelz 140,719 on at
    Patch works only for me
    Hi Samand,
    These types of issues with differing outcomes for users are almost always permissions related, so you might start there and check that the users have write permissions to the relevent tables.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,719

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard