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?
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
72 | |
50 | |
42 | |
30 |
User | Count |
---|---|
266 | |
121 | |
94 | |
90 | |
81 |