Tag: beginners triggers
-
Trigger to change the Stage when Opportunity is Created – Triggers for Beginners
Salesforce Apex Trigger to change the Stage/default the stage to ‘Prospecting’ when an Opportunity is created. In other words, when an Opportunity is created by selecting any Stage, the Stage should default back to Prospecting.
-
Write Your First Hello World Salesforce Apex Trigger – Triggers for Beginners
Let’s write our first “Hello World” Salesforce Apex trigger which will update a Lead with “Hello” as the first name and World” as the last name. The “Hello World” program is the simplest program used to illustrate the basic syntax of a programming language. The program outputs “Hello World” and is traditionally the first program…