Salesforce PDI Question Answer
Consider the following code snippet:
public static List
List
for (Id leadId : leadIds) {
result.add([SELECT FIELDS(ALL) FROM Lead WHERE Id = :leadId]);
}
return result;
}
Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should implement to ensure successful execution of the method?
Salesforce PDI Summary
- Vendor: Salesforce
- Product: PDI
- Update on: Jul 28, 2025
- Questions: 204