You need to sign in to do that
Don't have an account?
System.Exception: NML:Too many callouts:11
Hi,
I have a trigger which is calling my webservice when ever any lead/contact is created/updated/deleted. When i deleted the leads using "mass delete" option in the salesforce, my trigger throws an exception "System.Exception: NML:Too many callouts:", as only 10 callouts are allowed from the trigger.
One of the solution to this is to pass the lead/contact Id's concatenated in the form of a string. But as the string has its own length limitations when its being passed to the database using my webservice the id's may get truncated which may generate the errors.
Please help!
Thanks, Shaveta
Kindly help.
Thanks,
Shaveta