ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 370 - Certified Platform Developer II discussion

Report
Export

An org has a Process Builder process on Opportunity that sets a custom field,CommissionBaseAmount__c, when an Opportunity is edited and the Opportunity's Amount changes.

A developer recently deployed an Opportunity before update trigger that uses the CommissionBaseAmount__c and complex logic to calculate a value for a custom field CommissionAmount_c, when an Opportunity stage changes to Closed/Won.

Users report that when they change the Opportunity to Closed/Won and also change the Amount during the same save, the C:rr.i;5icnA.T.cur.t c is incorrect.

Which two actions should the developer take to correct this problem? Choose 2 answers

A.
Call the trigger from the process.
Answers
A.
Call the trigger from the process.
B.
Uncheck the recursion checkbox on the process.
Answers
B.
Uncheck the recursion checkbox on the process.
C.
Use a static Boolean variable in the trigger.
Answers
C.
Use a static Boolean variable in the trigger.
D.
Call the process from the trigger.
Answers
D.
Call the process from the trigger.
Suggested answer: A, C
asked 23/09/2024
CHUN KIT HO
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first