Ans for the question is we can't pass trigger.newmap in Before insert event because in before insert we don't have record Id yet as the record is not inserted into the database and to use MAP we need key-value pair. So that's why we cant pass trigger.newmap in Before insert event.
Trigger on Account Object Trigger.IsBefore &Trigger.IsInsert, Trigger.new No,We cannot use Trigger.newMap bczu Trigger.newMap is not design for before insert
First, I like your every video, then I start watching... Thank you so much for the wonderful content.
Thanks for watching! I hope you find it useful.
Thanks You For Lot Of Effort Anna Really Thank You , I Learned so Much From You
I'm glad you found it helpful!
Ans for the question is we can't pass trigger.newmap in Before insert event because in before insert we don't have record Id yet as the record is not inserted into the database and to use MAP we need key-value pair. So that's why we cant pass trigger.newmap in Before insert event.
Exactly, that's right!
Trigger on Account Object Trigger.IsBefore &Trigger.IsInsert, Trigger.new
No,We cannot use Trigger.newMap bczu Trigger.newMap is not design for before insert
Yes