Posts

Showing posts from December, 2017

LearnSalesforce

Image
Triggers in Salesforce: Chapter 1. Never Ever Give Up Basics of trigger Did you google(d) this sentence.....! Okay, hurry here is the answer. Let me start with very basic & practical example -Here  Adam & Harry are having the same discussion Adam says: In Salesforce, we use the trigger to implement custom business logic with help of code to execute some simple & complex logic.  Harry says:  GotchU!!! But man Why the only trigger ? can't you do this with Workflow or process builder or Salesforce in-built functionality? Adam says: Buddy, You are correct, Going good but let me recall what you can do with workflow & what extra we need in these- You can not create a new record with help of Workflow. Deletion of record is not possible. Update from parent to child is not possible.Only child to parent record can be updated. Multiple rules need to write for multiple functionalities.  Adam says: Still, you are confused why I nee...