function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anvesh@force.comanvesh@force.com 

Can we Use triiger.newmap for before insert event or not?

Can we Use triiger.newmap for before insert event or not?

Best Answer chosen by Admin (Salesforce Developers) 
imutsavimutsav
No Trigger.newMap cannot be used in before insert.

Thanks
Utsav

[Do mark this answer as solution if it works for you and give a kudos.]