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 29 discussion

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

Universal Containers wants sales reps to get permission from their managers before deleting Opportunities.
What can be used to meet these requirements?

  • A. Approval Process with Time-Dependent Workflow action.
  • B. Approval Process with Apex Trigger.
  • C. Two-step Approval Process.
  • D. Process Builder with Submit for Approval Action.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Sir_Ninso
Highly Voted 3 years, 10 months ago
As with many answers on this website, this is completely wrong, don't rely on fake sites like this, The answer is clearly B, we need a Trigger, yet the test tells you it's C which is very clearly wrong. Its sites like these cause confusion for students
upvoted 9 times
Sreeteja123
9 months ago
I agree with you. But this site I have full hopes. Because, they knew that answer could be wrong so they added Community Votes to fix it with 0 management from their end.
upvoted 1 times
...
...
BorisBoris
Highly Voted 1 year, 4 months ago
The answer is C because I completed the exam and under the section 'Automation' I scored 100%. The question does not mention an automatic record deletion. It simply requires that a Sales Rep wants permission to delete a record. And in fact, if it were my Users, I would want them to wait for the approval and then simple delete the record. So, a 2-stepApproval Process is the best practice. In the Two-step Approval Process, the sales rep initiates the deletion request, which then proceeds through two approval steps. The first step involves the sales rep's approval, and the second step involves the manager's approval. The process ensures that the manager grants permission before the Opportunity can be deleted. By utilizing a Two-step Approval Process, Universal Containers can enforce the requirement of obtaining permission from managers before deleting Opportunities. This approach provides a structured and auditable workflow, ensuring appropriate oversight and control over Opportunity deletions.
upvoted 7 times
...
docxdmd
Most Recent 1 year, 2 months ago
Selected Answer: B
We are not deleting the record we are triggering an approval process before the record can be deleted which means we need to stop the user from deleting the record by having an approval process when they try to delete the opportunity. Process builder and workflow and just the two step approval process alone can not be initiated before a record is deleted.
upvoted 1 times
...
docxdmd
1 year, 3 months ago
Selected Answer: C
C Boris Boris answer below is dead on correct. Two step approval process is the best answer.
upvoted 1 times
docxdmd
1 year, 2 months ago
B!!!! Never mind BorisBoris may have gotten a 100 on 'Automation' but this question is B not C. Either this questions was one of the 5 experimental questions on his test or is in a different category. We are not deleting the record we are triggering an approval process before the record can be deleted which means we need to stop the user from deleting the record by having an approval process when they try to delete the opportunity. Process builder and workflow and just the two step approval process alone can not be initiated before a record is deleted.
upvoted 1 times
...
...
ExamTube
1 year, 5 months ago
Right answer is A. We must use declarative option always before writing anything. So B or C or D is wrong.
upvoted 1 times
ExamTube
1 year, 5 months ago
Sorry I typed it wrong. Right answer is B. Sorry again.
upvoted 2 times
...
...
Apex_man1
1 year, 11 months ago
Selected Answer: B
D is incorrect because process Builder cannot trigger the approval process before the records deletion
upvoted 2 times
...
IamAshish
1 year, 11 months ago
B, Process builder cant be used to delete a rec
upvoted 1 times
...
Saozer
2 years, 1 month ago
Selected Answer: D
If we talk about APP BUILDER certificate. i think "D" is the most Answer. Me i tried to test it and it work very good. The problem here is automation. how to trigger the submission without using the "Submit" button? just use an build-Process to trigger your approval. "B" is correct too, but here is not Dev certificate.
upvoted 2 times
Saozer
2 years, 1 month ago
We all know that process builder can not check if a record is deleted. But let's choose le most logic answer assuming that it is APP BUILDER Certification.
upvoted 3 times
...
...
DonDemik
2 years, 3 months ago
Selected Answer: B
B. Approval process, process builder or workflow cannot delete records. Flow can be used to delete records. But in this case, a trigger should be used.
upvoted 2 times
...
Mims22
2 years, 8 months ago
No one has mentioned that the deletion needs to happen automatically. Process builder indeed cannot delete records. Why use Apex when there is salesforce functionality that can do that? The time-dependent option is irrelevant since this needs to happen immediately before deletion. For me it is also C.
upvoted 4 times
...
Eslo
2 years, 9 months ago
Answer C is correct because process builder do not allow automatic deletion of record but flow does based on condition.
upvoted 2 times
...
MMLEI
3 years, 1 month ago
It's C JoPe got the point. The reason for Two step Approval is just the question mentions "Managers" not just one implying the approval need to go further step after one manager approves it.
upvoted 3 times
neil_1
2 years, 1 month ago
I agree here - the question says managers (as in more than one manager) and two step would accomplish that. I was envisioning this as: user A submits for approval to delete the record. maybe this "approval" is a checkbox or something that tells user A it can be deleted. then user A gets some notification and manually deletes. it seems that reading this question, the triggers don't need to be "on delete" of the record at the time user A wants to delete it.
upvoted 2 times
...
...
Cloudy_Follower
3 years, 2 months ago
I think it's B. The Apex trigger is used to prevent the record deletion, not to delete it.
upvoted 3 times
...
Goat1234
3 years, 3 months ago
The fact that it states they need permission and not automatically deleted would imply that it would be manually deleted, therefore C?
upvoted 1 times
...
pallavi7mentor
3 years, 10 months ago
i think its b https://www.sevenmentor.com/salesforce-training-in-pune.php
upvoted 3 times
...
AppFox
3 years, 10 months ago
JoPe is correct. If you read the question, they are only looking for permission
upvoted 3 times
inech
3 years, 8 months ago
He has a point, but then why would you need a 2 step approval. I think you would only need one.
upvoted 1 times
...
...
AnhTH
3 years, 10 months ago
B Process builder and approval can't delete a record. I think Approval process and trigger is required for this task.
upvoted 7 times
SalesforceMaster
2 years, 2 months ago
C Would be a dead lock, you cannot use a trigger for that.
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 ...