What is the optimal way to achieve this?

A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set.

What is the optimal way to achieve this?
A . Create a Process, call an Apex @future(callout=true) method from it, and make the callout from that Apex method.
B . Create a Process, call an Apex @InvocableMethod from it, and make the callout from that Apex method.
C . Create an after insert trigger, call an Apex @InvocableMethod method from it, and make the callout from that Apex method.
D . Create an after insert trigger, call an @future(callout=true) method from it, and make the callout from that Apex method.

Answer: D

Latest PDII Practice Questions with 280 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments