nerdexam
Salesforce

PDII · Question #344

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

The correct answer is A. Replace the process with a Fast Field Update record-trigger flow. See the full explanation below for the reasoning.

Question

An org has an existing process, built using Process Builder, 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 CommissionAmount__c is incorrect. Which action should the developer take to correct this problem?

Options

  • AReplace the process with a Fast Field Update record-trigger flow.
  • BCall the process from the trigger.
  • CCall the trigger from the process.

How the community answered

(34 responses)
  • A
    76% (26)
  • B
    9% (3)
  • C
    15% (5)

Community Discussion

No community discussion yet for this question.

Full PDII Practice