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.

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 I

Free dumps for CRT-450 in PDF format.

High quality CRT-450 PDF and software. VALID exam to help you pass.

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “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.

    1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.