Notifications
Clear all
Topic starter
23/07/2022 8:35 am
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 @InvocableMethod from it, and make the callout from that Apex method.
- B . Create an after insert trigger, call an @future(callout=true) method from it, and make the callout from that Apex method.
- C . Create a Process, call an Apex @future(callout=true) method from it, and make the callout from that Apex method.
- D . Create an after insert trigger, call an Apex @InvocableMethod method from it, and make the callout from that Apex method
Suggested Answer: B