cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
simms7400
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
Paulie78
Super User III
Super User III

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

View solution in original post

1 REPLY 1
Paulie78
Super User III
Super User III

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

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,573)