cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drossi
Helper III
Helper III

Flow fails at condition due to no content in form response

Hi I have a flow which gets responses from a Form and updates a SharePoint list. However, due to branching, it will either have an image attachment or not.

So I put a condition on to check for an image.

When there is an image the flow succeeds but when there is not it fails. I tried to get it to check with the condition if there is an image or not.

I was using -

Get Response Details field - is not equal to - null

If yes then it goes down the Parse JSON flow, if no, nothing it just goes on to next step.

When there is no image, it still goes down the Yes path whereas I need it to go down the No path.

I get error Required property content expects a value but got null.

What do I need to change my condition to?
1 ACCEPTED SOLUTION

Accepted Solutions
Jcook
Super User
Super User

Hello @drossi

Can you try this expression in the condition:

empty() is equal to true

Inside the () in the empty expression select your dynamic content for the field you want to check.
For the is equal to: I always use the expression true.

empty() returns true if the parameter is empty. So saying is equal to true, will be true and if the field is not empty, will return false.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





View solution in original post

2 REPLIES 2
Jcook
Super User
Super User

Hello @drossi

Can you try this expression in the condition:

empty() is equal to true

Inside the () in the empty expression select your dynamic content for the field you want to check.
For the is equal to: I always use the expression true.

empty() returns true if the parameter is empty. So saying is equal to true, will be true and if the field is not empty, will return false.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





ScottShearer
Super User
Super User

@drossi 

If the solution provided by @Jcook does not work for you, please post a screen shot of your Flow.  That will make it much easier to assist.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,451)