Skip to main content

Notifications

Power Automate - General Discussion
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

 

 

  • Verified answer
    Re: Condition not working

    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

  • Re: Condition not working

    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

  • jemagbanua Profile Picture
    jemagbanua 23 on at
    Re: Condition not working

    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!

  • Re: Condition not working

    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
    jemagbanua 23 on at
    Re: Condition not working

    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

     

  • Re: Condition not working

    Hi @jemagbanua ,

    It should be possible, please try it.

     

    Best Regards,

    Sunshine Gu

  • jemagbanua Profile Picture
    jemagbanua 23 on at
    Re: Condition not working

    Hi @v-yetonggu-msft 

     

    should this be okay?

    Thank you for your assistance!

    jemagbanua_0-1715309109065.png

     

  • Re: Condition not working

    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
    jemagbanua 23 on at
    Re: Condition not working

    Hi @v-yetonggu-msft 

    Please see screenshot,

     

    Thank you!

    jemagbanua_0-1715308732293.png

     

  • Re: Condition not working

    Hi @jemagbanua ,

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

     

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard