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 / Checking attachment fi...
Power Automate
Answered

Checking attachment filenames and accounting for capitalisations

(0) ShareShare
ReportReport
Posted on by 95

Hello,

 

I have the following step in a flow to check if it is a pdf file.  Is there a better way to do this.  e.g. this would fail if someone had a file called file.Pdf 

 

thanks

 

everdingk_0-1704347021397.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @everdingk 

    You can use toLower() or toUpper() function both side in your condition.

    toLower(DisplayName Expression)

    vyueyunmsft_1-1704347723457.png

    You need to replace the DisplayName Expression in your side , and you can see it expression when your mouse hover on it.

     

    If this reply can help you , you can click mark this reply as solution, thanks in advance!


    Best Regards,

    Yueyun Zhang

     

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard