Professional Documents
Culture Documents
QA
QA
4)What is a Database.QueryLocator?
In Salesforce, Database.QueryLocator is an interface used in batch Apex to provide
a mechanism for iterating over a large set of records without loading them all into
memory at once
6)Database.Stateful:
Maintains state: Batch jobs with this annotation retain information across
transactions within the same job.
7)Types of Flows explain the scenario that you have worked in the recent projeact?
12)Governor LIMITS?
Queueable
========
1. Queueable Jobs can contain the member variable as SObjects or custom Apex Types.
2. When using queueable jobs it will make the AsyncApexJob which we can monitor
like Scheduled jobs.
3. Queueable Apex can be called from the future and batch class.
4. Using Queueable Apex will chain up to queueable jobs and in Developer Edition it
is only 5 Jobs.
15)Whenevery the phone field on the account object is updated the list of contact
should aslo update with the same number in salesforce trigger
trigger testTrigger on Account (after update) {
// List to hold updated contacts
List<Contact> updatedContacts = new List<Contact>();