Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

Note from Apex Web Services and Callouts:

An Apex trigger can execute a callout when the callout is invoked within a method defined as asynchronous: that is, defined with the @future keyword. The @future annotation signifies that the Apex method executes asynchronously. For more information on the @future annotation, please read the documentation.

Also worth reading: HTTP Callout from TriggersHTTP Callout from Triggers

Note from Apex Web Services and Callouts:

An Apex trigger can execute a callout when the callout is invoked within a method defined as asynchronous: that is, defined with the @future keyword. The @future annotation signifies that the Apex method executes asynchronously. For more information on the @future annotation, please read the documentation.

Also worth reading: HTTP Callout from Triggers

Note from Apex Web Services and Callouts:

An Apex trigger can execute a callout when the callout is invoked within a method defined as asynchronous: that is, defined with the @future keyword. The @future annotation signifies that the Apex method executes asynchronously. For more information on the @future annotation, please read the documentation.

Also worth reading: HTTP Callout from Triggers

Source Link
Adrian Larson
  • 151.4k
  • 38
  • 247
  • 431

Note from Apex Web Services and Callouts:

An Apex trigger can execute a callout when the callout is invoked within a method defined as asynchronous: that is, defined with the @future keyword. The @future annotation signifies that the Apex method executes asynchronously. For more information on the @future annotation, please read the documentation.

Also worth reading: HTTP Callout from Triggers