There is a catch in the dublicate contact trigger,if you update the existing record,then even if there is only one name with that record,it won't allow to save the record.
hi mahesh, i have a doubt at 53:27 you have written soql in for loop for before insert but, Is it good to write it in the for loop due to governing limits?
Sir, Trigger5 is not working, if we insert bulk records with same name, (if we insert bulk of records with same name, trigger is not adding the validation)
Duplicate record-last code is partially correct. if we edit exiting record then not able to save the same record, it being considered as duplicate record :(
I have so many videos related to triggers. But this video cleared all the concepts
Hi Smita can you please share the videos of Triggers at my email id i am salesforce admin in IBM
Good explanation keep it up bro
Don't write query inside for loop....exceeds governor limits
Very nice videos. Very nicely explained.
There is a catch in the dublicate contact trigger,if you update the existing record,then even if there is only one name with that record,it won't allow to save the record.
awesome sir. cleared everything , thankyou so much
great
great sir.....
Superb bro.plss upload more videos on sales force development
All the things were fine till the bulkified trigger of Duplicate Record Validation Error. I did not understand that.
Me also..
hi mahesh, i have a doubt at 53:27 you have written soql in for loop for before insert but, Is it good to write it in the for loop due to governing limits?
This soql query is out of loof ..check curly brackets thank you
Sir, Trigger5 is not working, if we insert bulk records with same name, (if we insert bulk of records with same name, trigger is not adding the validation)
Thank you sir...
hi mahesh please make some more videos on some more concept as like work flow procces builder validation rule etc
could you please explain why this map concept is coming into picture, instead of map we can use count() either right.
Excellent brother...please upload more vedios on trigger real time scenario.
A Complete Trigger Examples in Salesforce.
Dear Mahesh, In Trigger 5 you have used SET but SET only allow unique value so how it will allow duplicate to store
Correct Abhishek. I have the same query. Did you get the answer? Or anyone can help us here please
I also have the same question
Exactly same doubt I have
If anyone knows please explain
But sir can we skip the section of map ,if we get value from query then as per size or due to that value we can conclude there and restrict
thank u so much
Duplicate record-last code is partially correct. if we edit exiting record then not able to save the same record, it being considered as duplicate record :(
U r right but ,they told us just fot an learning purpose.
How can you use trigger.newmap in before insert...you cant use trigger.newmap in before insert...before insert you cant get ids
Why we have to go to trigger for duplicate records .why can't we go without code ? This is my interview question .could plz tell me answer
You can go by creating matching rules and duplicate management. But triggers are more flexible
Can you please share code for fees task scenario