Deleting rows in database that are stored in a list somewhere else

Hi guys, I wonder if I have a row that is referenced in thousands of lists in potentially different tables, and I delete that row, what happens?

At get deleted in all other place you were referencing it.

this will also effect your workflows if you were usign that row in anykind , its alwasy a good idea if you are deleteing start form children item and then go throuw prenths.

what i do , let suppose we have a list of messages and a list of conversaiton and then user.

Do it in backend, create a workflwo which take all these 3 as list. then schedule that workflwo after 10s in frontend where you are deleteing those. and do search for each and pass the list in respective parameters.

the 10s give enought time to search all the list and then in backend inside API workflow do , delete a list 3 time passing each in one.

even if there were thousands of lists?
That’s surprising.
Thanks for the tips though!