- April 14, 2016 at 7:55 am #9870Rachit #450
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?April 14, 2016 at 7:59 am #9878April 14, 2016 at 8:02 am #9882Naman #166
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.September 29, 2018 at 1:15 am #39922
Please Register to reply to this topic. /