A developer needs to prevent the creation of Request records when certain conditions exist in the system. A RequestLogic class exists that checks the conditions.
What is the correct implementation?
A.
B.
C.
D.
CRT-450: Salesforce Certified Platform Developer IFree dumps for CRT-450 in PDF format.High quality CRT-450 PDF and software. VALID exam to help you pass. |
Correct answer is D
Agreed since we must prevent the creation we automatically go with ‘before insert’ and discard the ‘after insert’ answers.
A or D. A is using Request as a parameter, which is incorrect. D is calling the class with the methd as well as using the trigger.new (object that activated the trigger) as a paramter which seems correct.
The correct answer is A
“Request” cannot be a parameter.
He might be troling