Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Condition returning false between two equal fields

(0) ShareShare
ReportReport
Posted on by

I am creating a flow that compares an email from "get user profile" and an email located in an excel file, but the condition always returns false, even thought the email is the same.

 

I tried several ways, but it keeps returning false.

 

I don't seem to be able to add prints here.

 

 

  • Pstork1 Profile Picture
    66,004 Most Valuable Professional on at
    Re: Condition returning false between two equal fields

    Can you show me a screenshot of the input section of the two Compose actions from a sample run?

  • Community Power Platform Member Profile Picture
    on at
    Re: Condition returning false between two equal fields

    @Pstork1 I did strip out the html in the excel, but it still doesn't work. Is there anyway I can do this via Power Automate?

  • Community Power Platform Member Profile Picture
    on at
    Re: Condition returning false between two equal fields

    I did add the compose and the information was the same, but I think you might be right about the hyperlink. Thanks!

  • Pstork1 Profile Picture
    66,004 Most Valuable Professional on at
    Re: Condition returning false between two equal fields

    Add a compose just prior to the Condition action.  put the two values there and see what values are actually coming through and being compared.  I suspect the one from Excel is coming in formatted as a hyperlink to send email.  If that's the case you'll need to strip out the HTML before doing the compare.  But looking at the actual values involved should help figure out why they aren't being considered equal.

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,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow