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 / Check attachments in s...
Power Automate
Answered

Check attachments in sharepoint list

(0) ShareShare
ReportReport
Posted on by 2

When a new item is created or when item is already created and get attachments given an Id,  I cant check if an item has attachments

 

I tried when new item is created using this expresion: @equals(triggerBody()?['Attachments'], true) 

 

In other hand, when item is already created and following get attachments body, given an id, cant create a condition if object is empty with @not(equals(empty(body('Obtener_datos_adjuntos')), true))

 

 

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @asturnebur,

     

    The When a new item is created trigger didn't contain any information about the Attachments, so it can't be used to check whether attachment is empty.

    Further, to check if the Attachments is empty, we could just use:

    @empty(body('Obtener_datos_adjuntos'))

    If the result is yes (true), means there is no attachment.

     

    Regards,

    Michael

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard