• Sam Hebasst
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP RESTcallout to its external order management system based on a user-initiated action on the opportunitypage. Example values are as follow* Name* Amount* AccountWhich two methods should the developer implement to fulfill the business requirement?
(Choose 2answers)

A. Create a Process Builder on the Opportunity object that executes an Apex immediate action toperform the HTTP REST callout whenever the Opportunity is updated.

B. Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick actionto expose the component on the Opportunity detail page.

C. Create an after update trigger on the Opportunity object that calls a helper method using@Future(Callout=true) to perform the HTTP REST callout.

D. Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action toexpose the component on the Opportunity detail page