Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 181 discussion

Actual exam question from Salesforce's CRT-450
Question #: 181
Topic #: 1
[All CRT-450 Questions]

An Approval Process is defined in the Expense_Item__c object. A business rule dictates that whenever a user changes the Status to `ËśSubmitted' on an
Expense_Report__c record, all the Expense_Item__c records related to the expense report must enter the approval process individually.
Which approach should be used to ensure the business requirement is met?

  • A. Create a Process Builder on Expense_Report__c with an 'Apex' action type to submit all related Expense_Item__c records when the criteria is met.
  • B. Create a Process Builder on Expense_Report__c to mark the related Expense_Item__c as submittable and a trigger on Expense_Item__c to submit the records for approval.
  • C. Create two Process Builders, one on Expense_Report__c to mark the related Expense_Item__c as submittable and the second on Expense_Item__c to submit the records for approval.
  • D. Create a Process Builder on Expense_Report__c with a 'Submit for Approval' action type to submit all related Expense_Item__c records when the criteria are met.
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
PriyankN
8 months, 3 weeks ago
Selected Answer: C
C is correct as you can update fields on Expense Items
upvoted 1 times
...
cagdasaydin7
1 year ago
Selected Answer: A
A should be correct
upvoted 1 times
...
irina_735
1 year, 1 month ago
Selected Answer: A
I think it's A. How can we mark related records as submittable via Process Builder?
upvoted 1 times
irina_735
1 year ago
Only the record that started the process is submitted. You can’t submit any related records for approval. https://help.salesforce.com/s/articleView?id=sf.process_action_submit.htm&type=5
upvoted 1 times
...
...
smoota
1 year, 10 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Freddy04
1 year, 12 months ago
A is correct. Only the record that started the process is submitted. You can’t submit any related records for approval, hence process builder alone can't achieve this task. Process builder along with Apex action should be used to achieve this task.
upvoted 3 times
...
ApexMike
2 years, 1 month ago
Selected Answer: C
You could literally use the method in A or B or C to implement this. You can use an invocable apex method, or a trigger or another process on the child object to submit the child records for approval. Since SF is so keen on declarative first then code, I would say C is correct.
upvoted 2 times
...
Rajiv1406
2 years, 2 months ago
I think it's A because how can we mark all the related Expense_Item__c using process Builder.
upvoted 4 times
...
Abhishek36s
2 years, 5 months ago
C Only the record that started the process is submitted. You can’t submit any related records for approval. https://help.salesforce.com/s/articleView?id=sf.process_action_submit.htm&type=5
upvoted 2 times
...
testerpupil
2 years, 10 months ago
Selected Answer: D
“Create a Process Builder on Expense_Report_c with a 'Submit for Approval' action type to submit all related Expense_Item_c records when the criteria is met” is a correct answer because the Process Builder should be created on object Expense_Report__c with criteria to check when the Status is changed to Submitted. Once the criteria meet, there should be an Action called “Submit for Approval” which will submit the records for approval.
upvoted 1 times
samado99
2 years, 5 months ago
"Only the record that started the process is submitted. You can’t submit any related records for approval." ref: https://help.salesforce.com/s/articleView?id=sf.process_action_submit.htm&type=5
upvoted 4 times
...
...
golhgh
2 years, 12 months ago
C seems to be a correct answer. If you can do it via PB , why use a trigger?
upvoted 2 times
...
MuzaffarMoiz
3 years, 1 month ago
Why not 3 ?
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 ...