nerdexam
Salesforce

PDII · Question #198

A business process requires sending new Account records to an external system. The Account Name, Id, CreatedDate, and Created ById must be passed to the external system in near real- time when an…

The correct answer is C. Use a Process Builder that calls an @InvocableMethod method. See the full explanation below for the reasoning.

Question

A business process requires sending new Account records to an external system. The Account Name, Id, CreatedDate, and Created ById must be passed to the external system in near real- time when an Account is inserted without error. How should a developer achieve this?

Options

  • AUse a before insert trigger and a Queueable class
  • BUse a before insert trigger and an @future method
  • CUse a Process Builder that calls an @InvocableMethod method
  • DUse a Workflow rule that calls an @InvocableMethod method

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    11% (3)
  • C
    71% (20)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full PDII Practice