Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Filter query conditions

(0) ShareShare
ReportReport
Posted on by 15

Hello Guys,

Using a filter query, I periodically check task breaches, and email the relevant users if there is a breach.

 

The filter query works fine. I would like to add a condition if the filter query result is true. If the condition is true, I would like to trigger the rest of the flow condition or terminate the flow to avoid blank emails.

 

I tried the condition using the expression result true. It did not work. please assist 

 

Rahu_lLal_0-1671647072698.pngRahu_lLal_1-1671647103238.png

 

  • Verified answer
    Rahu_lLal Profile Picture
    15 on at
    Re: Filter query conditions

    @v-chengfen-msft  , It worked , Thanks a lot 

  • Verified answer
    v-chengfen-msft Profile Picture
    on at
    Re: Filter query conditions

    Hi @Rahu_lLal ,

    Do you want to not send an email when the return value of [Get items] is empty?

    Please try :

    Set a [Condition], when the value of length(value) is not 0, send an email, and when it is 0, do nothing and end the flow

    vchengfenmsft_0-1671675457785.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

    Best Regards

    Cheng Feng

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow