Execution of Trigger and Workflow – A practical Analysis

Target Record: A Case record with Status =”New” in Database. There is trigger which updates the value of Status =”Working” in before update event. There is workflow too which updates to Status to “Escalated”. So, we are going to analyze how system behaves in these scenarios: Lets play as below: P.S: In all events, old …

Execution of Trigger and Workflow – A practical Analysis Read More »

Apex Trigger Practice (4)

Prerequisites Standard Contact Object There is checkbox Field on Contact called “Active” A custom object “Employment Detail” as child object of Contact Object There is a picklist field “Status” having two values: Employee, Ex-Employee And a lookup field to Conatct Requirement: If Contact field “Active” is marked as true, then If no record of child …

Apex Trigger Practice (4) Read More »

User profile permission explanation

Profile controls There are two types of system permissions in a profile, Administrative and General. You can create a Custom Profile or a Permission Set if you have either Enterprise or Performance Edition to give access. In Contract Manager, Group, and Professional Editions you have 6 Standard Profiles that cannot be customized by default, but permissions can be added.  Administrative Permissions Access Chatter For Sharepoint – Allows the user to access Chatter for …

User profile permission explanation Read More »

Push notification in Lightning Service Console

There is a very powerful feature in classic console that whenever any changes happens at any record by other users, you can know it in list view and case detail page as well: https://trailhead.salesforce.com/en/content/learn/modules/service_console_customize/service_console_customize_push But unfortunately, Salesforce does not provide this feature in lightning service console yet — a real pain for support agent. Here is an idea …

Push notification in Lightning Service Console Read More »

Calculate Week Days between two Dates in Wave Einstein analytics (SAQL)

Requirement: a SAQL query to find the number of WEEKDAYS between two dates. Specifically, can use this SAQL query in a Compute Expression SAQL Expression: Here dataset name is “cases”. Start date is Created Date of a Case record and End Date is ClosedDate of Case. Algorithm is copied from here: https://help.salesforce.com/articleView?id=000004526&type=1. q = load “cases”; q = …

Calculate Week Days between two Dates in Wave Einstein analytics (SAQL) Read More »

Custom Domain Masking of Salesforce Communities

Description Implementing a custom domain for your community creates brand recognition and gives you additional control and functionality. We’ll go through how you can get your custom domain implemented. Prerequisites & Assumptions Steps to setup the masking Prepare Host-name for CNAME configuration from Salesforce:  Get Salesforce 18 digits organization id. You can get that easily …

Custom Domain Masking of Salesforce Communities Read More »