Hi,
I have a power apps form and it is connected to Flow. I have set the trigger for the flow is when item is created or modified.
The powerapps has "form status" field with default value "Draft".
In the approver can approve or reject the form. If approver approve the form, the "form status" value will be updated to "approved". If approver reject the form, the "form status" value will be updated to "rejected".
Since the trigger for the flow is to run everytime the item is created/modified by someone, I have to set the condition for the flow to run only if the form status = "draft". If not, it will terminate the flow. If I did not do the condition, it will become infinite loop.
The problem is that:
Let's say approver already rejected my application.
And then I want to fix my mistake, so I edited the form and then click submit btn.
Then, I figured out that the form is not being submitted, I was revert back to edit mode of the form and there's runtime error(it says ETAG mismatch).
If I try to submit it once again, then it works.
I do not know why this happens but I think it is because of condition in the flow.