Aconsultant is writing an Apex class to run when a new Contact is created in a Salesforce environment where Education Data Architecture (EDA) is in use.
What should the consultant do to ensure the code executes in the order intended?
A.
Write an Apex trigger to set the order of execution.
B.
Go to EDA Settings to set the order of execution.
C.
Use Table-Driven Trigger Management (TDTM) to set the order of execution.
Table-Driven Trigger Management (TDTM) is a tool to manage the code in Salesforce and control how Apex behaves5. TDTM allows the consultant to easily rearrange the order of things via a table in the Salesforce interface (hence, the “Table-Driven” in TDTM)6. With TDTM, the consultant can tell the Apex trigger: do X first, then Y, then Z, without writing any code6. TDTM is part of the Education Data Architecture (EDA) and can be accessed from EDA Settings5. References:
6: Table-Driven Trigger Management and Why it Matters8
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit