cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Issue with Flow Condition after a 'Get Items'

Hello Folks -

I'm having trouble with a Condition in my flow.  I have a flow that first runs a 'Get Items' and then it filters that result. For some reason, it's still branching to "Yes" to send the notification even though there are no results. Why?

 

I did some checking and 'Body' produces the result "[]" (square brackets) so i'm wondering does it consider that a result? Therefore, branching to yes? How do I prevent this?

 

PACONDITION.png

 

If i use the 'Item' field from the filter, it puts it into an "Apply to Each" which isn't what I what as this will send a notification for each line in the result...

 

Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Resident Rockstar
Resident Rockstar

I would consider changing your condition to be length(body) is not equal to 0

View solution in original post

1 REPLY 1
Resident Rockstar
Resident Rockstar

I would consider changing your condition to be length(body) is not equal to 0

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (6,186)