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 »

Why Before Trigger should not have DML for other objects

if you update or delete a record in its before trigger, or delete a record in its after trigger, you will receive a runtime error. This includes both direct and indirect operations. For example, if you update account A, and the before update trigger of account A inserts contact B, and the after insert trigger of contact B queries for account A and …

Why Before Trigger should not have DML for other objects Read More »

Differences Between Apex Classes and Java Classes

Inner classes and interfaces can only be declared one level deep inside an outer class. Static methods and variables can only be declared in a top-level class definition, not in an inner class. An inner class behaves like a static Java inner class, but doesn’t require the static keyword. An inner class can have instance member variables …

Differences Between Apex Classes and Java Classes Read More »

Case New Page in community: Detect Replay – Spam Protection using Google captcha

It’s very easy to find out endpoint and payload that create Case when you click “Submit” (or any button that create Case) – After that a CURL request can be made and thousands of Cases can be created in a few minutes. There is no out of the box way in Salesforce but we can prevent …

Case New Page in community: Detect Replay – Spam Protection using Google captcha Read More »

What a Salesforce Developer can Learn Other than Salesforce Platform

“Above given technologies are top 8 technologies of 2019. Personally, I would like to learn following of these technologies to boost my career in Salesforce.” AI or Bot: It’s really useful in context with Salesforce platform and extensible and applicable to Salesforce. Knowledge of this can make you different than other Developers. Javascript: It can …

What a Salesforce Developer can Learn Other than Salesforce Platform Read More »

Chrome plugins for Salesforce to deal with Metadata

Salesforce advanced Code searcher https://chrome.google.com/webstore/detail/salesforce-advanced-code/lnkgcmpjkkkeffambkllliefdpjdklmi?hl=en Salesforce: Hit the List https://chrome.google.com/webstore/detail/salesforce-hit-the-list/emjeecoeojjncobbfekhfboajgnpcojc Salesforce Navigator https://chrome.google.com/webstore/detail/salesforce-navigator/ecjmdlggbilopfkkhggmgebbmbiklcdo?hl=en