You need to sign in to do that
Don't have an account?

Populating the triger data at the beginning of the handler class
Hello,
I have trigger in below pattern
One Account trigger
- Calls Trigger handler
Account Triger handler
- makes distinhuish betwen before ,after, insert, updae
- have each fucntion , which call class to execute actions/functions
I want to improve the trigger to get the data at the beinning of the handler class and execute the trigge logic by using the map
in other owrds, SOQL to get the user and Account data in beginning and store in map. and use the map in the rest of the account handler.
where i could start from, please
Please refer the below link will help you to proceed further.
https://niksdeveloper.com/salesforce/apex-trigger-best-practices-all-in-one/
Thanks!!