I have a backend workflow that schedules an API when a database triggers.
I would like to delete all things that referenced an item that has been deleted.
i.e. When “C-Skill” is deleted, I want to delete all the “E-Skills” that previously referenced “C-Skill”
Hi there, @rory.mulligan… I could be off base here because I am not necessarily following your exact flow, but I think it could be “flawed” at a base level because it sounds like you are trying to delete a list of things (E-Skills) that are no longer associated with a thing that has already been deleted (C-Skill). If that is the case, you likely have to go the other way and delete the list of things (E-Skills) before you delete the thing with which they are associated (C-Skill).
Does any of that make sense and sound like it might describe what is happening?
I don’t think so, but why can’t you delete the list of E_Skills" first by searching for the ones that are associated with the C_Skill that is going to be deleted. Then, after the E_Skills are deleted, delete the C_Skill.