You need to sign in to do that
Don't have an account?
Riothamus
Callout fails during a trigger
Hi,
I'm using triggers to call a Web Service to lookup an address every time the address changes, but I get the error:
System.CalloutException Callout from triggers are currently not supported.(line 124)
Line 124 is sending the HttpRequest. Is there a work-around?
You can use a @future method to retrieve the data later. As it says, you can't use callouts during a trigger.
All Answers
You can use a @future method to retrieve the data later. As it says, you can't use callouts during a trigger.
Worked great, thanks!