Linked Questions
17 questions linked to/from HTTP Callout from Triggers
0
votes
2
answers
6k
views
HTTP callout from trigger [duplicate]
I have the following setup
Object : CurrencyConversion__c
Field : Input_Currency__c
Field : Convert_Currency__c
I want to invoke a callout to an external webservice via a trigger (before ...
1
vote
1
answer
4k
views
Callouts in triggers not currently supported? [duplicate]
I'm getting an error when I am call non void method from REST API class. Trying to add the Rest Response id in contract object.
trigger RestAPIcalloutTrigger on Contract (after insert , after Update) ...
1
vote
0
answers
51
views
Callout delay when HttpRequest is invoked in a trigger account [duplicate]
I'm doing a http request from salesforce, when I receive the response, I want to update an account field but it is visible until I refresh the page. Everything is in after update. Is there a way to ...
0
votes
0
answers
14
views
Unable to call the Apex Callout from triggers [duplicate]
I have a apex Class which calls external ERP system and create/updates records there. The apex Class is like below
public class createSegment {
public class getAzureToken{
public String ...
8
votes
1
answer
14k
views
Error: Future method cannot be called from a future or batch method
I have a managed packaged that I recently updated and it threw an error for a future method I have that sends information to a third party.
The error I received was:
Future method cannot be called ...
3
votes
1
answer
4k
views
@InvocableMethod/Process.PluginResult And @Future
Is it possible to set either the @InvocableMethod or Process.Plugin with a @future(callout=true)?
My problem (bear with me):
I have a trigger that calls a class
the class creates an object and ...
4
votes
3
answers
447
views
Make Salesforce alert my program when a certain change happens
I've successfully got the .NET c# toolkit running and I can talk with API by posting queries and getting accounts, cases etc. printed, which is very nice. This is what I want to achieve:
When a user ...
3
votes
1
answer
2k
views
Avoiding Recursion While Updating Trigger Records
I'm running into roadblocks everywhere with this particular task. My goal is simply to have a trigger do a GET request on an external REST API service, get some data, and update the lead currently ...
0
votes
1
answer
2k
views
Using a web service callout in a trigger
I am trying to use this JSON parsing in a trigger.
The purpose of the trigger is to insert latitude and longitude data to custom object "Branch__c" once data like address, city etc. are inserted so ...
4
votes
1
answer
1k
views
Trigger fired by future function does not support callout
I'm developing an integration that makes an HTTP call to an external system from SFDC. The entry point for this code is an opportunity trigger. After a user updates the opportunity, my trigger fires, ...
0
votes
1
answer
1k
views
DML operation and callout (synchronous)
I have a requirement where, on changing a particular field value of an account record from Lightning page layout, I have to make a callout. If the response from the callout is not successful, then the ...
0
votes
1
answer
561
views
How to invoke a C# web service from a Salesforce trigger
I have written a C# web service and it has a web method that gets last inserted Account object from Salesforce by using Salesforce Web Service API after that inserts these datas to an MSSQL database. ...
1
vote
1
answer
488
views
How to use what3words API in Salesforce to convert w3w address to coordinates
I am using what3words (http://what3words.com) to save locations in Salesforce, by simply copying the w3w address from their app and pasting it into Salesforce using the mobile app.
I want to then ...
0
votes
1
answer
185
views
Trigger(before insert) which generate's key/random string, after inserting the key, how connect to an external URL [closed]
trigger which generate's random string:
trigger setAppKey on dftly_app__c (before insert) {
if (Trigger.isBefore){
For (dftly_app__c dac: Trigger.new){
Blob b = Crypto....
1
vote
1
answer
159
views
Cannot catch the result of ExecuteAnonymous in toolingAPI
I have a future method called out from a trigger which passes the ifcondition to be evaluated to this method and if this evaluates to true I need to call some classes. The problem here is even if the ...