Database.stateful
Soshi Randhawa
2y
anything statically declared in betweent the transaction gets reset and we would not be able to catcht he values of the state hence to count the record chunck,(no of tx) we use stateful
Help your peers!
Add answer anonymously...
Top Cognizant Salesforce Developer interview questions & answers
Popular interview questions of Salesforce Developer
Top HR questions asked in Cognizant Salesforce Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app