A company requires an external system to be notified whenever an account is updated. trigger AccountTrigger on Account (after update){ for (Account updatedAccount:Trigger.new)
{ AccountTriggerHelper.notinyxternalSystem(updatedAccount.id); } } public class AccountTriggerHelperfuture(callout=true)
{ public static void notinyxternalSystem(Id accountId){ Account acc = [Select id, name from Account where accountId =
:accountId]; http objectHttp h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('http://example.org/ restService'); req.setMethod('POST'); req.setBody(JSON.serialize(acc)); HttpResponse res = h.send(req); } }
What LimitException could the following code trigger?
thekumarakshay
10 months, 3 weeks agosanto_aj
1 year, 6 months agoSegre
1 year, 8 months agolorenac2
1 year, 10 months agomageshrr
2 years, 1 month agoPeter808
2 years, 1 month agoagjklsjrhgjksf
2 years, 6 months agolorenac2
1 year, 10 months agoskipper009
2 years, 10 months agodrwebber
2 years, 11 months agonibbio
2 years, 11 months agoAnhTH
3 years, 1 month ago