+ Start a Discussion
kirsankirsan 

use of dml operations in trigger

what is the use of  DML  operations and select statements in triggers??

Dream_weaverDream_weaver

Trt to avoid putting any business logic in triggers..Triggers should be used to pass current state of object(trigger.new)/trigger.old as a parameter to a method for a class based on the events.all the DML statements should be written in the method that is calledby the trigger..