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 / Flow Does not contain ...
Power Automate
Unanswered

Flow Does not contain and Contain do not work

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow which is checking my Filename which is being passed to the condition action block. I am checking if my filename has word metadata in it. So if I pass filename as metadatafile.csv, My flow which says (if filename does not contain metadata) should return false but it is returning true. What wrong am I doing??

 

Ankit77_0-1614778287449.png

 

Ankit77_1-1614778321862.png

 

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,079 on at

    Try this:

    contains(toLower(variables('FileName')),'metadata')
     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard