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 always retur...
Power Automate
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

 

Categories:
I have the same question (0)
  • Verified answer
    PieterVeenstra Profile Picture
    13 on at

    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?

  • Community Power Platform Member Profile Picture
    on at

    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

  • PieterVeenstra Profile Picture
    on at

    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.

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard