Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 557 discussion

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

Ursa Major Solar's service department gets requests for several types of services, such as installation, repair, and maintenance. Service managers need to be able to tell when maintenance was last done on an asset to help determine if they are meeting contract agreements, but the last maintenance date can be difficult to determine when there are many work orders related to the asset. They think it would be helpful to have a field auto-populated on the Asset record when a maintenance work order gets closed.

What tool should an app builder recommend to help meet this requirement?

  • A. Roll-up Summary
  • B. Apex Trigger
  • C. Flow
  • D. Visualforce
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Jason_R
Highly Voted 1 year, 10 months ago
Selected Answer: C
C: Flow Record-triggered flow that updates the record when the record is updated to Closed.
upvoted 7 times
...
erama13
Most Recent 10 months ago
B or C but it's more on C because this is App Builder Exam not Platform Dev. I'm guessing one of those 2 option are not in the exam.
upvoted 1 times
...
whoSaidThat
10 months, 3 weeks ago
Selected Answer: B
To meet the requirement of auto-populating a field on the Asset record when a maintenance work order gets closed, an app builder should recommend B. Apex Trigger. An Apex Trigger is a piece of code that executes before or after specific data manipulation language (DML) events occur, such as inserting, updating, or deleting records. In this case, the trigger can be written to detect when a maintenance work order is closed and automatically update the last maintenance date field on the corresponding Asset record. By utilizing an Apex Trigger, the app builder can ensure that the field on the Asset record is automatically populated with the correct last maintenance date, eliminating the need for manual updates and providing accurate information for service managers to determine if contract agreements are being met.
upvoted 1 times
...
BorisBoris
1 year, 4 months ago
B. An Apex Trigger is a piece of code that is executed before or after the record is inserted, updated, or deleted. It allows for custom logic to be applied during these events. In this scenario, an Apex Trigger can be used to automatically populate the last maintenance date field on the Asset record when a maintenance work order is closed. Flow is a powerful tool for creating declarative automation in Salesforce. While it can be used for various automation tasks, it may not be the most efficient tool for this particular requirement. An Apex Trigger can provide more control and immediate response when a maintenance work order is closed.
upvoted 2 times
...
t_samuel
1 year, 4 months ago
B or C only the options.
upvoted 1 times
...
igorshpak
1 year, 9 months ago
Selected Answer: C
We can't use roll-up because there is a look-up relationship between Asset and Work order, and we need master-detail.
upvoted 2 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 ...