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?

QuestionsCategory: Certified Platform Developer IIA 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?
Admin Staff asked 4 months ago
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.








 

Suggested Answer: D

Community Answer: D



This question is in Certified Platform Developer II Exam
For getting Salesforce Certified Platform Developer II











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.