cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Delete SharePoint List item NOT by List ID

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,

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

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

 

 

 

View solution in original post

1 REPLY 1
v-yuazh-msft
Community Support
Community Support

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

 

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,755)