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
![](https://secure.gravatar.com/avatar/c785d395294a45741d63837cd41a4ef4?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)