List of questions
Related questions
Question 304 - Certified Platform Developer II discussion
A developer is debugging an Apex-based order creation process that has a requirement to have three savepoints, SP1, SP2, and SP3 (created in order), before the final execution of the process.
During the final execution process, the developer has a routine to roll back to SP1 for a given condition. Once the condition is fixed, the code then calls a roll back to SP3 to continue with final execution. However, when the roll, back to SP3 is called, a runtime error occurs.
Why does the developer receive a runtime error?
A.
The developer should have called SP2 before calling SP3.
B.
SP3 became invalid when SP1 was rolled back.
C.
The developer has too many DML statements between the savepoints.
D.
The developer used too many savepoints in one trigger session.
Your answer:
0 comments
Sorted by
Leave a comment first