cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
calvares
Impactful Individual
Impactful Individual

Save conflict error

In my app, there is a form and a 'Save and next' button on every screen. The data source is a SharePoint list. Aside from the first screen which has a submit form for New form modes, the save part of the formula is:

Switch (
varFormMode,
FormMode.Edit,
Refresh(DataSource);
Patch (
DataSource,
varProjects,
Form_Screening.Updates,{ScreeningComplete:true}
).

There is also a Power Automate flow which runs on create and modify of the SharePoint list. On a condition, it sends out an email to the user and updates two fields in the data source. So the conflict error is occurring on the 3rd or 4th screen after this update has been made in the flow. 

 

I would have thought the Refresh before the Patch would have resolved this issue. I also added a Refresh to the OnVisible of the screen. Is there anything else I can try? 

0 REPLIES 0

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,856)