Salesforce Platform Developer I (legacy) — Question 233
Which feature should a developer use to update an inventory count on related Product records when the status of an Order is modified to indicate it is fulfilled?
Answer options
- A. Process Builder process
- B. Lightning component
- C. Visualforce page
- D. Workflow rule
Correct answer: A
Explanation
The correct answer is A, as Process Builder allows for automated updates of related records based on changes in another record's status, making it ideal for inventory adjustments. Options B and C are user interface solutions that do not automatically handle data changes, and D, while capable of some automation, is limited compared to Process Builder's capabilities.