exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 564 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 564
Topic #: 1
[All Certified Platform App Builder Questions]

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?

  • A. After-Save Record-Triggered flow
  • B. Before-Save Record-Triggered flow
  • C. Process Builder
  • D. Workflow rule
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Jason_R
Highly Voted 1 year, 6 months ago
Selected Answer: A
A. After-Save Record-Triggered flow This one is kind of tricky. The event is the inventory amount being updated on whatever object tracks the inventory number. The action is that we need to make a callout to a webservice. At this point, we know it's a Record-Triggered Flow. To determine if it is a before- or after-save flow is to determine whether or not we are "updating the triggering record’s field values" or not. Since we are not (only making a callout), we know we can't use a before-save flow. So, it must be an after-save flow. https://help.salesforce.com/s/articleView?id=sf.flow_considerations_trigger_record.htm&type=5 NOT: B. Before-Save Record-Triggered flow "The flow can’t perform actions other than updating the triggering record’s field values. The flow can’t update values in records that are related to the triggering record. Only these elements are supported: Assignment, Decision, Get Records, and Loop." C. Process Builder - can't make callouts without apex code. D. Workflow rule - use flows going forward. Workflows are being retired.
upvoted 8 times
...
BorisBoris
Most Recent 12 months ago
C. Process Builder is a powerful automation tool in Salesforce that allows for the creation of automated processes without writing code. It provides the ability to define criteria and actions to be performed based on specific events, such as record changes. In this case, when the inventory of a shoe is reduced due to an order being activated, Process Builder can be used to trigger the communication with the CK web service. After-Save Record-Triggered flow: While a flow can be used to automate processes, the After-Save Record-Triggered flow is not the most suitable option in this scenario. It executes after the record has been saved, which means the web service call would occur after the inventory change has already taken place.
upvoted 1 times
...
cloudconnected
1 year, 4 months ago
Selected Answer: A
A!!! A is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...