Delete list item from root site based on the same list item in subsite


Badge +1

Hi,

 

I am saving all the list items from a list(ex:List B) which is present in the subsite to a list(ex:List A) which is in the root site.

when an list item is deleted from the subsite list(List B), how to delete the same item from the root site lsit(List A). 

 

Thanks

 


2 replies

Badge +17

The easiest way to achieve this is to potentially run a workflow on the item that performs the delete. It would run based on a status change and query the other list to check if the item exist, if it does, that item is deleted then it deletes the item that started the workflow. 

 

The other option is a site workflow that does a cleanup. It would run nightly or whenever and query the one list to find out what items are deleted are and then delete the items from the other list based on the name, etc.

Badge +1
Could you please send me the steps(Actions) to potentially run a workflow on the item that performs the delete.

Thanks,
Vishwas

Reply