top of page

Apex triggers

A single trigger is all that is needed for one particular object. If multiple Triggers are developed for a single object, there is no way of controlling the order of execution if those triggers can run in the same contexts.

Another widely-recognized best practice is to make Triggers logic-less. That means, the role of the Trigger is just to delegate the logic responsibilities to some other handler class.

An Apex Trigger may invoke another trigger, and there are methods to prevent unnecessary recursion. An Apex Trigger may or may not use a future method to perform DML statements. Note that future methods are asynchronous, and they do not necessarily execute in the same order they are called.

4 views0 comments

Recent Posts

See All

Salesforce Certificate Order

We need 3 Certifcates 1.SSL Certificate. 2.CA Intermediate Certiticate. 3.Root Certifcate. If you dont got the root certitifcate from the provider,you can download it from the provider website/home pa

29 Side Hustles

Dog walking or pet sitting Online tutoring or teaching Freelance writing or editing Graphic design Event planning or coordinating Virtual assisting Social media management Blogging Personal training o


bottom of page