web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete SharePoint List...
Power Automate
Unanswered

Delete SharePoint List item NOT by List ID

(0) ShareShare
ReportReport
Posted on by

The goal: create a flow when deleting a sub-list item, the aggregate main list will also remove the same item

 

Situation: I have multiple lists feeding into the main list through flow (trigger: create item -> action: create item). I tried to do the same with deletion, and I am limited to the "delete item" action which only asks for list ID.

 

Complication: the list ID of a new item in the sub-list is different from the ID of the new item in the master-list. I end up deleting the wrong item.

 

Hypothesis:

- is there a way to ask the delete action to use a different ID value?

 

Thank you,

 

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    If you want to delete the item in the list2 (look up list) when an item is deleted in the list1 (In use list),please refer to screenshot below to create the flow:

    Capture.PNG

     

    The item in the look up list would be deleted when an item is deleted in the In use list.

     

    Note:

    Please make sure the Title of the item In use list would have the same Title in the look up list.

     

     

    Best regards,

    Alice

     

     

     

  • Daniel_Reuter Profile Picture
    3 on at

    After some small adjustments, the above solution worked as a charm. Had a really hard time finding a solution to this problem. Odd that the method of deleting items from list B when deleted in list A is different from the method of creating or updating items from one list to another. 

    One would argue that it would be beneficial to include the "delete" functionality in the "create/update item" functionality.

  • Community Power Platform Member Profile Picture
    on at

    May I know if there is a way to delete items other than using ID or Title? As ID on both lists are different and Title is not a required column in my case. It would be best if I do not have to change the structure of my existing sharepoint lists as well.

    Thank you

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard