Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

condition always returns false

(1) ShareShare
ReportReport
Posted on by

I have a conditional branch in my flow.   I want to trigger an action if the senders email is in the subject line.

So, I need to compare the email From field to the Email Subject .     However,   this condition seems to always result in a false.

10-30-2018 12-12-50 PM.png

 

  • PieterVeenstra Profile Picture
    on at
    Re: condition always returns false

    Hi @Anonymous,

     

    I glad it helped. 

     

    Compose is more than just a debug tool

     

    You might have found variable with the initialize and set actions. Compose doesn't need to be initialized. Also, Compose doesn't use a lock when you use it within loops.

  • Community Power Platform Member Profile Picture
    on at
    Re: condition always returns false

    Excellent!  That was very helpful.  Did not know about the compose.   Is compose used just for debugging?

     

    This turned out to be a case sensitivity issue.    So,  I need to convert everything to upper or lower.  Im sure there is a func for that.

     

    Thanks

  • Verified answer
    PieterVeenstra Profile Picture
    2 on at
    Re: condition always returns false

    Hi @Anonymous,

     

    Can you create a Compose just before this condition where you set the value to 

     

    <Subject>

    <From>

     

    Using the Dynamic content as you are. 

     

    Then run the flow again and check the output of the Compose. Are the values really the same?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1