Salesforce-Platform-Developer Practice Test

Salesforce Spring 25 Release
237 Questions

Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support representative name. What is the best solution to assign the case to the appropriate support representative?

A. Use a trigger an the Case object.

B. Use a formula field on the case object.

C. Use a validation rule on the Case object.

D. Use an Assignment Flow element.

D.   Use an Assignment Flow element.

Explanation:

Flows are powerful declarative tools that can evaluate conditions (like Case Origin) and assign values (such as setting the support rep field). This is the best and most maintainable approach for this use case.

Why the other options are not suitable:

A. Use a trigger on the Case object.
Triggers are more complex and should be used only when declarative tools like Flow can’t handle the logic.

B. Use a formula field on the Case object.
Formula fields are read-only and cannot update or assign values—they just display calculated results.

C. Use a validation rule on the Case object.
Validation rules are used to enforce data quality, not to assign or update fields automatically.

Salesforce-Platform-Developer Practice-Test - Home Previous
Page 20 out of 237 Pages