Salesforce Certified Platform App Builder — Question 301
Cloud Kicks (CK) keeps track of its shoe inventory in Salesforce. When an order's status is changed to Activated, the inventory for the ordered shoe is reduced. At that point, a SOAP web service on the CK website must be called so that the website is updated to display the correct inventory amount for the shoe.
What should an app builder use to communicate to the CK web service when a shoe's inventory has changed?
Answer options
- A. After-Save Record-Triggered flow
- B. Before-Save Record-Triggered flow
- C. Process Builder
- D. Workflow rule
Correct answer: A
Explanation
The After-Save Record-Triggered flow is the correct choice because it allows for actions to be executed after the record is saved, making it suitable for making external calls to update the website. The Before-Save flow is not appropriate as it happens before the record is committed. Process Builder and Workflow rules are also not ideal for this use case, as they do not provide the same level of integration for SOAP web service calls in this context.