Hello SFDC Ninja, I have one doubt if we are using static variables then with the use of a Database.Stateful, the variable also gets reset or it will maintain its state.
Hello Sfdc ninja, Here is another interview question on trigger from Salesforce company : Write a trigger to compare values between same fields in Opportunity object but fields can be modified in future. For example : you are comparing Amount, Stage in trigger but later some time those comparable fields will be changed. So how to achieve this to dynamically compare fields in Opportunity trigger?
Hello, I can't understand the requirement properly, Can you help me with that. What should we do by comparing the values, should we throw an error. Also should we be comparing the same of different fields, like compare old Amount with new Amount and Old stage with new stage.
Thank you for your video. I have a question , it is mentioned that we can process max 200 records at a time in execute method. Then how we are calculating how many times the execute method will be executed to process the 1236 records by specifying batch size as 400. Anyone please clear this doubt.
What's the difference between : database.getQuerylocator and datatable.querylocator. Because in Salesforce documentation the governor limit for records retrieved by database.getquerylocator is 10 thousand but you told it's 50 million. Wanted clarity for it
Hello SFDC NINJA, Hope you are doing well. Your videos were very informative and helpful. Thanks for creating such content. I have a doubt .Please clarify . I have 10000 records and in a batch of 3000 I am using the batch apex. Can you tell me how many times the start(),execute(),finish() method will work? Waiting for your input......
❤❤❤lovely
Awesome Video. You have covered pretty much everything.
Thank you for sharing! 😊
Thanks for watching
amazing content, best regards from latam
Clear explanation. Thanks
Sir which software u use to edit your videos... Btw nice explanation
Hello SFDC Ninja,
I have one doubt if we are using static variables then with the use of a Database.Stateful, the variable also gets reset or it will maintain its state.
Hello Sfdc ninja, Here is another interview question on trigger from Salesforce company :
Write a trigger to compare values between same fields in Opportunity object but fields can be modified in future. For example : you are comparing Amount, Stage in trigger but later some time those comparable fields will be changed. So how to achieve this to dynamically compare fields in Opportunity trigger?
Hello, I can't understand the requirement properly, Can you help me with that. What should we do by comparing the values, should we throw an error. Also should we be comparing the same of different fields, like compare old Amount with new Amount and Old stage with new stage.
Thank you for your video.
I have a question , it is mentioned that we can process max 200 records at a time in execute method.
Then how we are calculating how many times the execute method will be executed to process the 1236 records by specifying batch size as 400.
Anyone please clear this doubt.
it will 1200/400 = 3 + 1(for remaining 36 Records), total=4 times
Divide 1236/400 = 3 batches each of around 400 records
200 is the default batch size, it applies when we dont mention batch size, minmum is 1 and maximum is 2000
good information
What's the difference between : database.getQuerylocator and datatable.querylocator.
Because in Salesforce documentation the governor limit for records retrieved by database.getquerylocator is 10 thousand but you told it's 50 million. Wanted clarity for it
Hello SFDC NINJA,
Hope you are doing well.
Your videos were very informative and helpful.
Thanks for creating such content.
I have a doubt .Please clarify .
I have 10000 records and in a batch of 3000 I am using the batch apex. Can you tell me how many times the start(),execute(),finish() method will work?
Waiting for your input......
can i get this questions in document