Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Attachment Flow

(0) ShareShare
ReportReport
Posted on by 9

I have tried solutions from earlier posts, but i get stuck with  something trivial probably. Am i overlooking something ? The conditions returns false

 

Knipsel.JPG

  • fschuurman Profile Picture
    9 on at
    Re: Attachment Flow

    YES! i got it working. I was baffelt after 3 attempts, when i got an error thrown at me while creating the file. I altered the rights on the library, but that was not it. I needed to use the Compose Output while creating a document and not the  Current item content. After this, the flows works as promised. 

     

    I made the library auto-delete the content after 30 days, and  so is the flow in compliant with GDPR regulations.

     

    Cheers

  • fschuurman Profile Picture
    9 on at
    Re: Attachment Flow

    Thanks,

    I will check it shortly.

     

    Frank

  • Verified answer
    v-yuazh-msft Profile Picture
    on at
    Re: Attachment Flow

    Hi @fschuurman,

     

    I have made a test on my side and don't have the issue that you mentioned.

     

    Please add a Compose action before the condition to get the value of expression below:

    toLower(items('Apply_to_each')?['Name'])

    And then check if the value of expression contains ".pdf".

     

    The screenshot of the flow as below:

    Capture.PNG

    The expression in the condition as below:

    @contains(toLower(items('Apply_to_each')?['Name']), '.pdf')

    The flow would run successfully as below:

    Capture.PNG

     

    Best regards,

    Alice

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1