web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition returns alwa...
Power Automate
Unanswered

Condition returns always false but still runs both branches (true and false)

(1) ShareShare
ReportReport
Posted on by 2
I have a flow, that is triggered by selecting a row from an excel while, where I have listed customers and related customer excel attachments. Basically flow lists files on target folder and checks if the name of excel file on that folder matches with the attachment name of the selected excel row (condition rule: Invoice attachment file name is equal to display name). Then it creates email with related attachment.
 
Problem is that when I run the flow, the condition returns always false but still sends the email message with correct attachment. I set an action on false branch to send teams chat message when condition fails, but then it does both, sends email with attachment which is acitivity in true branch and also send me a message to teams about the failure of the condition.
 
Anyone that has faced the same problem and what could be the issue?
 
Categories:
I have the same question (0)
  • abc 123 Profile Picture
    789 Moderator on at
    How many items are returned by the "List all available attachments" Action? Is it possible that there are multiple items, some of which result in true, and others in false? In the Run view, you'll see how many loops the Apply to Each Action executed.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard