Timeline for Best Practice on Triggers
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2014 at 15:08 | vote | accept | Varun | ||
Oct 23, 2014 at 13:56 | answer | added | Chris Duncombe | timeline score: 5 | |
Oct 23, 2014 at 13:55 | comment | added | Alex Tennant |
The logic you've described could easily be performed in a before trigger and shouldn't require any additional DML. It's also worth noting that simple logic such as you've described can be easily accomplished using a Workflow Rule and a Field Update, rendering your trigger unnecessary.
|
|
Oct 23, 2014 at 13:40 | comment | added | BarCotter | That all depends on how your trigger is implemented. There shouldn't be any DML exception but if the trigger is implemented poorly then there could well be. Adding your code will help people answer your question. | |
Oct 23, 2014 at 13:37 | history | asked | Varun | CC BY-SA 3.0 |