What is the optimal...
 
Notifications
Clear all

What is the optimal way to achieve this?

1 Posts
1 Users
0 Likes
52 Views
Rueben
(@woodliffrueben)
Noble Member
Joined: 7 months ago
Posts: 401
Topic starter  

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

Show Answer Hide Answer

Suggested Answer: B

   
Quote
Share: