Every once in a while I just need to get the stack trace of an exception as a string so that I can log the error in a separate system. Here is a quick way to do that:
Blog
Salesforce – Calling REST API From Apex Using Modern Named Creds
Recently, I ran into an interesting Salesforce edge case where I needed an Apex trigger to make a future call to Salesforce’s own REST API. My goal was to essentially nudge certain Account records so Read more…