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 / When an Item is delete...
Power Automate
Answered

When an Item is deleted trigger - Saving a copy of the item to another list?

(0) ShareShare
ReportReport
Posted on by

Hi,


This might be an odd ball question, I need to have a full audit trail of items within a list particularly item deletes.  What I'd like to do is when a user deletes an item a copy of that item is stored in another "secure" list.  The flow is triggered by the "When an item is deleted" trigger.  The next action is "Get Item" where I am trying to grab the detail of the item and then using "Create Item" creating the deleted item in another list.

 

flowdelete.png

 

The flow stops at the second action with a 404 which I guess kinda makes sense as the item is deleted....

 

flow404.png

 

Any thoughts/help gratefully received.

 

Rob

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi Rob,

     

    Flow triggers after the item is deleted. It only give the below information.

     

    {
    "ID": 2,
    "Name": "Title2",
    "FileNameWithExtension": "Title2",
    "DeletedByUserName": "Mark",
    "TimeDeleted": "2019-12-12T23:04:15Z",
    "IsFolder": false
    }
     
    So in your case Get Item cannot find the details because the item is already deleted hence you getting 404 item not found.
     
    Another work around I can think is add a flag called Delete Y/N. Trigger against this field update. Move the item details across another list then delete the item via flow action. Also you need to set some securities around where users can't delete the list items.
     
    Thanks
     
     
  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @Rob_CTL ,

     

    As @abm said, you couldn't get the content of the item when the item is deleted.

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Rob_CTL Profile Picture
    on at

    Thanks @abm that is what suspected would be the case.  

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard