• #69020
    Salesforce | Shubham Shubham #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?

    Salesforce | MOHIT MOHIT #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.

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?