Delete a thing, what is this?

I am triggering a custom event, lets call it custom event1, I put product as a variable and a product’s type, I trigger it and delete product after that delete product’type it doesnt delete product’s type because it first deletes product. However, I am passing these into a custom workflow, arent they become static after that point? I am deleting from a custom event variable.

It seems very illogical

Note on this, everything works as expected, only thing that doesnt work is debug mode, debug mode doesnt work on delete actions, before step by step run delete action is already been made so showing different results

Things do not become static when they are passed into a custom event (or any workflow type). The variable is just a pointer to the actual thing. If you delete a thing in step 1, you will not be able to reference that thing’s thing in step 2.

Either delete the dependent things first, or switch to a status field (active/inactive) instead of hard delete. That way you can still reference a thing even after you set it to inactive.

Not true