Salesforce Certified Platform App Builder — Question 45

Universal Containers uses a custom object called Projects. When managers assign projects they set a custom field on the Project record called Estimated Hours.
Once set, users should be able to decrease but not increase the value.
How can an app builder meet this requirement?

Answer options

Correct answer: A

Explanation

The correct answer is A because a validation rule using the PRIORVALUE function can compare the current value of the Estimated Hours field with its previous value, allowing only decreases. Option B is incorrect as modifying the record type does not address the requirement of controlling field value changes. Option C is not suitable since the PREVGROUPVAL function is not relevant for this scenario, and option D does not provide a mechanism to enforce the required value change restrictions.