cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Conflict error is not showing when 2 users modify the same field

Hey Guys,

 

I am new to PowerApps. I am trying to create an app where users can do a CRUD on an Excel file. I created an Excel file, saved it in my OneDrive, share access with another user "User2". I created an app from the data and can do CRUD with no issues. I shared the app with user2. I was expecting a conflict error when me and user2 try to modify the same field, but I am getting no error. (Based on what I read on https://powerapps.microsoft.com/en-us/tutorials/function-errors/ by Greg Lindhorst).

 

Here is my onClick:  "UpdateContext({EditRecord:First(Filter(CurrWeek, R_x0023_ = DataCard4.Default))}); Patch(CurrWeek, EditRecord, EditForm1.Updates)".

 

and I am using IsEmpty(Errors(CurrWeek)) to check for errors, but its returning true.

 

Am I missing something?

 

Thanks!

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi Amusa,

 

Since you mentioned that 2 users are modifying the same field, and you both can modify it, my I know the result after this? Finally what is the data in app? 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for your response Mona,

 

Here is the scenario:

 

User1 and User2 opened the same screen to edit a field. The field original value is "test". User1 set the field to "user1 test" and submit, then User2 set the field to "user2 test" and submit. Both submissions were successful. User1 app is still showing "user1 test", but when refreshed it shows "user2 test".

 

My expectation is after user1 changed the original value, user2 will get a conflct error when trying to change the field, since the value in the excel file is not original value user1 opened the screen with.

 

I hope I answered your questons.

 

Thank you!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,467)