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 / Condition - check if S...
Power Automate
Unanswered

Condition - check if SQL returns no results

(0) ShareShare
ReportReport
Posted on by 111

I have an SQL query.

Then I use ResultsSet inside Apply to Each...

Sometimes my SQL returns nothing, so Apply to Each... fails

I want to add a condition to check if the results are empty...

I tried to add a Compose, but how do I check it for nulls???

Thanks!

michaelshparber_0-1611317351895.png

 

Categories:
I have the same question (0)
  • Paulie78 Profile Picture
    8,422 Moderator on at

    Check this post that I replied to last night. The answer is in there:

    https://powerusers.microsoft.com/t5/Building-Flows/Flow-failing-when-SQL-query-returns-empty-set/m-p/802079#M111618

     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard