The Ability To Stop A Trigger If No Conditions Are Met
The use of CASE and IF/THEN statements in Triggers are very helpful - however, it would be nice if there was a logic block or something where we can STOP the trigger from executing.
In example, if you have an email trigger with a conditional CASE statement in the body, and none of the conditions meet the CASE statement, a blank email will still be sent out. If I could use the ELSE part of the statement will a STOP function, there would be no problem.
3
votes
