Tag: apex
-
Can Named Credential merge fields be used in URLs?
Question You might want to pass dynamic values such as authentication details into the URL for an external service using Named Credentials. However, the issue arises because merge fields like {!$Credential.Password} or {!$Credential.UserName} do not get decoded until the request is actually sent, making it difficult to directly pass these as URL parameters. You’ve tried…
-
How to Add CC Recipients Dynamically?
Question In Salesforce Flow, adding CC recipients dynamically can be achieved using email alerts and flow configurations. Here’s how you can implement this: How Can We Dynamically Add Recipients to an Email Alert in Salesforce? Is it possible to dynamically add recipients to an email alert in Salesforce, possibly using a custom field or another…
-
What Are Apex Batch Action Results?
Question What Are “Apex Batch Action Results” in the Spring ’25 Release Updates, and How Can They Be Used? While reviewing the Spring ’25 release updates for my Salesforce org, I came across a mention of “Apex batch action results.” However, I couldn’t find detailed information about this feature online. Could someone help explain what…