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 / Insert SharePoint Onli...
Power Automate
Unanswered

Insert SharePoint Online list item with attachments causes both insert and update events

(0) ShareShare
ReportReport
Posted on by 2

I have a SharePoint Online list that allows attachments and both a PowerApp entry/update form as well as a stand-alone PowerApp to work with this list.   I also have two Flows, one using a SharePoint "When an item is created" flow and a second "When an item is created or modified" flow.  I had solved the issue of both flows being triggered on inserting a new item (only process the "update" flow if the Modified datetime is different than the Create datetime) and they worked fine until I needed to allow attachments to be added when creating a new item.  Now, it looks like when you insert an item with attachments, SharePoint inserts the new item then updates that item to add the attachments.  This makes sense logically but I am looking at how to trap this in the Update flow.  I am reluctant to only process the Update flow if (for example) the Modified datetime is within a minute of the Create datetime (seems a little hokey.   Anyone know of a better way?  Also, I don't want to use Document sets for this use case - I need them at List Item attachments.

 

Thanks.

Categories:
  • SFisher Profile Picture
    2 on at

    I have had more time to test and it is interesting (to me anyway).  If I insert a list item with 4 attachments, the item vets saved then updated with the first attachment, updated again with the second, etc.  After the 4th attachment, the item is on version 5.  The other interesting aspect is that the "inserted" flow is triggered as expected but the "updated" Flow is only triggered once.

     

    Hoping someone can shed some words of wisdom or at least let me know I'm not nuts :).

     

    Thanks.

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 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard