web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - Building Flows
Answered

Item not found when an item is deleted

Like (0) ShareShare
ReportReport
Posted on 4 Jul 2019 07:04:07 by

I want to delete an item from a list. I need to store a value from the deleted item to use it for calculation in another list.

 

I use action "when an item is deleted", then the next step is "Get Item".

Capture11.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


However I get the following error message:

Capture12.PNG

 

 

 

 

 

 

 

Capture13.PNG

 

 

 

 

 

 

 

 

 

 

 

Regards,

Deddy.

  • Verified answer
    yashag2255 Profile Picture
    24,667 Super User 2024 Season 1 on 04 Jul 2019 at 10:32:00
    Re: Item not found when an item is deleted

    Hey @Anonymous 

     

    There is a limitation on this one. So when an item is deleted is triggered, you can just get the name, ID etc and not any of the columns associated with that item. So this way, it would not be possible to get the other list to update when an item is deleted from List A. 

     

    You might want to create workflow in SP itself to achieve this. Here is a post that shows how to do that:

    https://stackoverflow.com/questions/16295567/how-to-create-calculated-column-with-data-from-another-list/16308478

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    yashag2255 Profile Picture
    24,667 Super User 2024 Season 1 on 04 Jul 2019 at 08:45:22
    Re: Item not found when an item is deleted

    Hi @Anonymous 

     

    So how this works is, the Get Item action is an independent action that will be executed. For the trigger: When an item is deleted, this is triggered when the item is deleted and the trigger itself brings some data as I have shown in the previous resposne. Similarly, for the When an item is created or modified, you get the Id from here and now the Get Item action runs and makes a new call to SP to get that particular item referenced here. So that way, on the When an item is deleted will not work as the item doe not exists when the get item is being executed. Makes sense?

     

    Can you share the scenario that you are trying to build so that I can have a better look and suggest a possible solution? 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS! 

  • Verified answer
    yashag2255 Profile Picture
    24,667 Super User 2024 Season 1 on 04 Jul 2019 at 07:14:44
    Re: Item not found when an item is deleted

    Hi @Anonymous 

     

    The action Get Items only works for items that are present in the SP list when that action is executed so you cannot really get the item that way. jsklfdj.PNG

     

    Here i am sending the ID details and the title and the person who deleted the item in an email. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

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

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!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete
Loading complete