Which two changes s...
 
Notifications
Clear all

Which two changes should a developer make in this trigger to adhere to best practices?

1 Posts
1 Users
0 Likes
226 Views
(@mcgruenathaniel)
Noble Member
Joined: 2 years ago
Posts: 732
Topic starter  

Consider the above trigger intended to assign the Account to the manager of the Account''s region .

Which two changes should a developer make in this trigger to adhere to best practices? Choose 2 answers

  • A . Use a Map accountMap instead of List accountList.
  • B . Use a Map to cache the results of the Region__c query by Id.
  • C . Move the Region__c query to outside the loop.
  • D . Remove the last line updating accountList as it is not needed.

Show Answer Hide Answer

Suggested Answer: C,D

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: