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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Fails a...
Power Automate
Suggested Answer

Power Automate Fails and Successful

(1) ShareShare
ReportReport
Posted on by 2
I built a flow that populates a list from a submitted microsoft form. It fails most of the time but is also successful. Let me explain, there are two scenarios:
 
 
1. Form is submitted with an attachment: Status is successful and form information populates successfully into list
 
2. Form is submitted without an attachment: Status is Failed and form information populates successfully into list
 
Each time, the flow does what it needs to do, i.e., populates the form with the right info; however, when there isn't an attachment, the flow "fails" even though an attachment is not mandatory. As a result, Power Automate keeps turning off my flow because it thinks it's failed even though it's working as designed. 

How do I add a condition that will make sure it runs successfully each time, regardless of whether an attachment is present? 
 
Screen caps below:
 
Successful (attachment added):
 
 
Failed (no attachment included but list successfully populates):.
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,488 Super User 2025 Season 2 on at
    Hi,
     
    It makes sense to me. You have the Create Item first, which takes the non-array items from the Form.
     
    Then you are doing an Apply to each, which is most likely the Question that lets them upload 1-10 files.
    Unfortunately that person didn't upload any files (must be not a required field), so that fails, because the Array is blank.
     
    If you want to not have this happen
     
    A)  Set the question to Required, so they have to upload something
     
    or
     
    B) Use a Condition first. Have it check if the Question has any files returned. If its NULL, do nothing, if its NOT null do something.
     
    That will solve your issue.
     
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard