• #9870
    Salesforce | Rachit Rachit #450
    Forcetalks

    How to stop a trigger of managed package from failing as it is being envoked by Salesforce Batch Apex?

    I am facing an issue where I have a batch class that updates accounts but a trigger related to a managed package is failing to execute and giving error of “Too Many Callouts”. How to solve this issue?

     

    #9878
    Salesforce | Abhinav Abhinav #442
    Forcetalks

    Hello Rachit,

    What is the batch size you are using in your batch class?

    #9882
    Salesforce | Naman Naman #166
    Forcetalks

    We can’t restrict/deactivate manage package trigger untill it is not operated with some condition like we have custom setting checkbox checked to initiate the trigger. If you want to still update the accounts, you have to use the Salesforce APIs to update accounts OR you can make custom webservice in Salesforce and call it by authenticating salesforce. By that way the context would get change of both transactions. Let me know if you need more detail.

    #39922
    Salesforce | Parul Parul #2
    Forcetalks

    If you want to still update the accounts, you have to use the Salesforce APIs to update accounts OR you can make custom webservice in Salesforce and call it by authenticating salesforce. By that way the context would get change of both transactions. Let me know if you need more detail.

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

Please to reply to this topic.

CONTACT US

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

Sending

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 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?