What happens during an 'On Submit' function

Maybe not exactly the same scenario, but I’ve ran into issues deleting rows through a relation as part of a custom action… if the relation is empty and there is nothing to delete, then the rest of the action chain fails, so I 've had to use multiple conditions with duplicates actions to account for those scenarios.