Posts

Showing posts with the label debug log

LinkedIn

Salesforce - How to Track Record Save Performance Details Using Log Inspector

Image
When your Salesforce instance is growing with lots of customization, there are high chances that you might hit performance issues with respect to Record save time. Salesforce is providing with out of the box approaches to track and find out time consumed by each of your operation. Let us see how we can track that - with the help of a sample scenario - Contact record save operation. Scenario - Customization On Contact Object Let us consider 2 Customization on Contact Object. 1. Assign Task to Account Owner - Process Builder When a new Contact is created, assign a task to Account Owner asking to reach out to that Contact to get some additional details about him. This can be achieved through a Process Builder as shown below: 2. Update Account Country from Contact to Country field in Account - Contact Trigger Example : Account - Account ABC Contact 1 -> Country ->India Contact 2-> Country->United States Once the contacts are saved, Account Country value should be ->...