Salesforce
PDII · Question #50
A developer has been asked to create code that will meet the following requirements: - Receives input of: Map<Id, Project_c), List<Account> - Performs a potentially long-running callout to an…
The correct answer is D. Queueable interface. See the full explanation below for the reasoning.
Question
A developer has been asked to create code that will meet the following requirements:
- Receives input of: Map<Id, Project_c), List<Account>
- Performs a potentially long-running callout to an outside web service
- Provides a way to confirm that the process executed successfully
Which asynchronous feature should be used?
Options
- A@future (callout=true)
- BDatabase.AllowCallouts interface
- CSchedulable interface
- DQueueable interface
How the community answered
(24 responses)- A4% (1)
- B13% (3)
- C4% (1)
- D79% (19)
Community Discussion
No community discussion yet for this question.