Skip to main content

Posts

Showing posts from August, 2019

Batch Apex

1. What are transaction limits in apex? Total number of SOQL queries issued1 - 100 Total number of records retrieved by SOQL queries - 50,000 Total number of records retrieved by Database.getQueryLocator - 10,000 Total number of records retrieved by a single SOSL query -  2,000 Total number of DML statements issued2 - 150 Total number of records processed as a result of DML statements, Approval.process, or database.emptyRecycleBin - 10000 Total number of callouts (HTTP requests or Web services calls) in a transaction - 100 Maximum cumulative timeout for all callouts (HTTP requests or Web services calls) in a transaction - 120 Maximum number of methods with the future annotation allowed per Apex invocation - 50 Maximum number of Apex jobs added to the queue with System.enqueueJob - 50 Total number of sendEmail methods allowed - 10 Maximum execution time for each Apex transaction - 10 minimum Maximum number of push notification method calls allowed per Apex transactio...