I have a customized sharepoint form in powerapps where the customer can change the status of the process. The status is stored in a list item column - with a button's OnSelect property:
(Refresh(mylistname);Patch(mylistname,First(Filter(mylistname,ID=DataCardValue36.Text)),{reqstatus:"level 2 completed", Title:"-"})
There are 3 status values of the process, each one has its own button. With these buttons the customer can change the status. (button1 changes the status from level 1 to level 2, button2 changes the level2 to level3)
I am getting an ETAG error message ("Conflicts exist with changes on the server, please reload. Server Response: ETAG mismatch") when I try to patch a record from powerapps multiple times. When I click the first status changer button it changes the status successfully, but after if I click the second status changer button I got this error message (The status changer button's function is to modify the same list item column just like the first button). The error occurs when I do these actions in one session.
The second status changer button's OnSelect property is the following: Refresh(mylistname);Patch(mylistname,First(Filter(mylistname,ID=DataCardValue36.Text)),{reqstatus:"level 3 completed", Title:"-"})
I tried to put the Refresh function into sharepointintegration onEdit control, it did not help.
When I am ignoring the error message and click the (2nd) status changer button again, it runs successfully.
In Microsoft Edge (42.17134.1.0) the error message did not appear, but the behavior is the same as I experienced in Chrome (70.0.3538.67 (64-bit))
Any idea how this error message can be eliminated?