Blogs
-
Arrange The Map To Obtain The key Associated With The Maximum Value.
Therefore, the task is to retrieve a few records from the Opportunity object, including the OwnerId and Id fields. For various records, there could be different owners. Our goal is to identify the OwnerId associated with the highest number of records and determine the count of those records. It’s obvious that we would have to…
-
Error “Guest users are not permitted to perform this operation” while creating chatter post in flow
PROBLEM DEFINITION This error takes place when flow runs in the context of a Guest User – like Record is being created from public site or public webhook etc. SOLUTION This happens because Guest User is not allowed to create chatter post i.e. Feed Post. There are possible below approaches: 1) Using Platform Event : Guest user…
-
Associate Actions With Asynchronous Apex Jobs Using Transaction Finalizers (Beta) – Spring 21
Let’s explore Finalizers in Queueable Apex by considering a scenario. Let me present a scenario and elucidate how we handle such situations prior to Spring 21. In Queueable Apex, when attempting a callout to an external platform, an interruption in the network might result in a callout failure. How do we ensure that the callout…