- February 10, 2020 at 3:09 pm #69020Shubham #21
Can a trigger make a call to Apex callout method in Salesforce?
Can a trigger make a call to Apex callout method in salesforce?February 11, 2020 at 6:38 pm #69212MOHIT #7
callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds.
The only way to execute a callout from a trigger is to run it asynchronously and this can be achieved by executing a method with the @future method.
Please Register to reply to this topic. /