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 Automate
Answered

Condition not working

(0) ShareShare
ReportReport
Posted on by 23

Good day,

 

Condition is not working, tried to build with co-pilot, condition should be if the uploaded file on onedrive is a pdf file then its true but if it is not a pdf file it is false.

 

jemagbanua_0-1715308421609.png

 

 

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

    Hi @jemagbanua ,

    Could you please show me a screenshot of the detailed parameters of your condition?

     

    Best Regards,

    Sunshine Gu

  • jemagbanua Profile Picture
    23 on at

    Hi @v-yetonggu-msft 

    Please see screenshot,

     

    Thank you!

    jemagbanua_0-1715308732293.png

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jemagbanua ,

    Please go to classic designer and re-add the 'name' dynamic content, this is a bug caused by a bug in the new designer.

    vyetonggumsft_1-1715308952531.png

    Like this:

    vyetonggumsft_2-1715309239150.png

    Best Regards,

    Sunshine Gu

  • jemagbanua Profile Picture
    23 on at

    Hi @v-yetonggu-msft 

     

    should this be okay?

    Thank you for your assistance!

    jemagbanua_0-1715309109065.png

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jemagbanua ,

    It should be possible, please try it.

     

    Best Regards,

    Sunshine Gu

  • jemagbanua Profile Picture
    23 on at

    Hi @v-yetonggu-msft 

     

    the flow failed on sending the email, can i get your further assistance on this? Thank you

    jemagbanua_0-1715319003558.png

     

    jemagbanua_1-1715319155038.pngjemagbanua_2-1715319208325.png

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jemagbanua ,

    vyetonggumsft_2-1715319663076.png

    You may not have noticed that there is a body before the dynamic content in the 'To' of your two Send an Email (V2). This will cause a reference error, so your recipients are displayed as empty.

    Please delete these two dynamic contents and re-add.

    Best Regards,

    Sunshine Gu

  • jemagbanua Profile Picture
    23 on at

    Hi @v-yetonggu-msft 

    Thank you for your assistance! but how do i re add if i want to send the email automatically to the uploader of the file only? Thank you!

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jemagbanua ï¼Œ

    Unfortunately, the current Power Automate cannot dynamically identify the person who uploaded the file, and your request cannot be realized yet.

    If you want the trigger to include this dynamic content, please create an idea in below forum so that others who have the same requirement can vote on it:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    If I answered your first question, please mark my reply as the solution.

    Best Regards,

    Sunshine Gu

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jemagbanua ,

    Also I want to tell you that you directly make the File Name dynamic content from the When a file is created trigger which will return an encoded string. You can add a get file metadata control to get the real name of the uploaded file.

    vyetonggumsft_0-1715321694894.png

    vyetonggumsft_2-1715321744405.png

    Best Regards,

    Sunshine Gu

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 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard