# You didn't show the one that worked so no idea what you're aiming for but the code you showed could be done without a custom trigger