web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Run Time Error Due to ...
Power Apps
Answered

Run Time Error Due to Condition

(0) ShareShare
ReportReport
Posted on by 353

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.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @_kikilalaaa ,

     

    Could you please share the flow configuration here? Do mask sensitive data before upload.

     

    Regards,

    Mona

  • Verified answer
    _kikilalaaa Profile Picture
    353 on at

    Hi guys! I have figured it out. Simply refresh the sharepoint before you submit the form.

    Submit Btn: Onselect = Refresh('SP List') ; SubmitForm(Form1)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard