SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Decoding Triggers for Admins
Kieren Jameson
Trailhead Content Engineer
Salesforce
@KierenJameson
Marc Baizman
Admin Evangelist
Salesforce
@MBaizman
Today’s Speakers
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be
delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Statement under the Private Securities Litigation Reform Act of 1995
Forward-Looking Statement
Connect with Us!
Salesforce Admins
@SalesforceAdmns
#AwesomeAdmin
admin.salesforce.com
Salesforce Admins
Salesforce Admins
Watch the Recording
The video will be posted to
YouTube & the webinar recap
page: bit.ly/DecodeTriggers
This webinar is being recorded!
Join the Admin Webinar Group for Q&A!
Don’t wait until the end to ask your
question!
• We have team members on hand to answer
questions in the webinar group.
Stick around for live Q&A at the end!
• Speakers will tackle more questions at the end,
time-allowing
bit.ly/AdminWebinarGroup
• Trigger overview & best practices
• Example trigger
• Resources
• Q&A
Today’s Agenda
Trigger Overview & Best Practices
Importance of Understanding Triggers
Triggers
Your Salesforce org
All the things you
know
And then there are
triggers
• Triggers kick off code-based automated
processes in Salesforce.
• They listen for certain database events
(e.g., a record being inserted, updated,
deleted, etc.).
• They link to the code that makes the magic
happen.
(Note: There are other ways this can an be
structured, but best practice is to link to the “magic-
causing” code.)
What Are Apex Triggers?
Change(s) made
to records in org
Trigger says, ”Oooh, I know what to do!”
END
Trigger sends all the records that were
just changed to a piece of code that does
something with these records.
Triggers let us do things like…
• Compare data before & after a change is made.
• Create new, and update existing, related (or unrelated)
records.
• Delete records.
• Interact with external data and web services
(e.g., external databases & SMS text message services).
Use Cases For Triggers
Before trigger = before “save”
• Work with data before it is committed
(saved) to the database.
• Are great for validating data or setting
values programmatically.
Difference Between Before and After in Triggers
After trigger = after “save”
• Work with data after the data is committed
(saved) to the database
• Are great for using the values you just
updated/created to create new or update
existing records.
Change(s)
made to
records in org
Trigger fires
END
That code does stuff:
validate data,
compare values,
change data before
“save”
BEFORE “SAVE”
Trigger fires linked
code
Trigger fires linked
code
That code does stuff:
create related
records, find related
records based on IDs
of new records
AFTER “SAVE”
saved
data
to org
Object
Trigger Chain of Events
Basic Structure of a Trigger
(after insert, after update) {
BEFORE
§ Insert
§ Update
§ Delete
AFTER
§ Insert
§ Update
§ Delete
§ Undelete
Where Does All This Code Go?
Why do this?
§ Easier to reuse code
§ Easier to understand code
§ Easier to write distinct
unit tests
Bonus best practice:
One trigger per object makes
it easier to control order that
each piece of code will run.
Best Practice
Change(s) made
to records in org
Trigger calls out to one
or more classes
Classes contains the
code that “does stuff”
END
Common Practice
^
Change(s) made
to records in org
Trigger contains all the
code that “does stuff”
END
but not so good
Trigger Example
Each recipe can have many reviews. Each review has one reviewer.
Cooking with Code: Example of a Trigger
Users
ID
First Name
Last Name
Review__c
ID
Recipe__c
Reviewer__c
Recipe__c
ID
When recipes are inserted or updated in our org, then…
1. Check each recipe for the Number_of_Reviews__c:
a. If there are reviews, then do nothing.
b. If there are no reviews, then create one and set some default data (review
name, reviewer, due date, status, etc.)
2. Save the new records back in the org
Trigger Scenario
trigger.new list
Stores affected records in
trigger.new, then calls a
method inside a class and
passes it the trigger.new list
new &
updated
recipes
listRecipes list newReviews list
For each recipe, if no
reviews, then create one
and add it to the
newReviews list
?
recipes from
trigger.new
reviews created
by method
Save new reviews
to the org
1,000 new &
updated recipes
Demo Time!
Today We Learned:
• Triggers and classes are just types of files that
contain code. Methods live within classes, and
contain the code that “does all the things”.
• Triggers can work on records before and after you
save them to your Salesforce org.
• Other coding concepts:
• Variables are like temporary storage containers.
• Lists are just like buckets, they can store a group of
data.
• Loops help you evaluate and work on records one-by-
one.
• IF statements ask a question.
Trigger best practices include:
• One trigger per object.
• Use code comments.
• Put the code that does all the things
in a class, and then point the trigger
to the code in the class.
• Don’t be a bad tenant, bulkify your
code. Don’t save records one-by-
one, but rather put them in a list,
then save the list to your org.
Resources
Trailhead.com
The fun way to learn Salesforce
Where Can You Go From Here?
WomenCodeHeroes.com
Helping awesome admins learn
to code (decoder ring included)
sfdc99.com
Apex coding for the 99%
RADWomen.org
Learn to code on the Salesforce
Platform with other women
Q&A
bit.ly/AdminWebinarGroup
Slides
bit.ly/DecodeTriggers
Wrapping Up
Survey
Please complete
GoToWebinar survey
recipe Trigger
RecipeUtility
Class
CONTINUED

Contenu connexe

Tendances

Webinar: Be a Builder! Leverage App Builder to Deliver Innovation
Webinar: Be a Builder! Leverage App Builder to Deliver InnovationWebinar: Be a Builder! Leverage App Builder to Deliver Innovation
Webinar: Be a Builder! Leverage App Builder to Deliver InnovationSalesforce Admins
 
Supercharge Productivity With Lightning Console Apps
Supercharge Productivity With Lightning Console AppsSupercharge Productivity With Lightning Console Apps
Supercharge Productivity With Lightning Console AppsSalesforce Admins
 
Make Apps Smarter with Einstein
Make Apps Smarter with EinsteinMake Apps Smarter with Einstein
Make Apps Smarter with EinsteinSalesforce Admins
 
Admins are Critical Change Agents
Admins are Critical Change AgentsAdmins are Critical Change Agents
Admins are Critical Change AgentsSalesforce Admins
 
Salesforce on Salesforce: How our Admin Team Led the Lightning Switch
Salesforce on Salesforce: How our Admin Team Led the Lightning SwitchSalesforce on Salesforce: How our Admin Team Led the Lightning Switch
Salesforce on Salesforce: How our Admin Team Led the Lightning SwitchSalesforce Admins
 
6 Reporting Formulas That Will Delight Your Users
6 Reporting FormulasThat Will Delight Your Users6 Reporting FormulasThat Will Delight Your Users
6 Reporting Formulas That Will Delight Your UsersSalesforce Admins
 
Move to Lightning in 60 Days - Admin Webinar
Move to Lightning in 60 Days - Admin WebinarMove to Lightning in 60 Days - Admin Webinar
Move to Lightning in 60 Days - Admin WebinarSalesforce Admins
 
Essential habits for New Admins 02.18
Essential habits for New Admins 02.18Essential habits for New Admins 02.18
Essential habits for New Admins 02.18Salesforce Admins
 
Drive Adoption of Salesforce at Your Company
Drive Adoption of Salesforce at Your CompanyDrive Adoption of Salesforce at Your Company
Drive Adoption of Salesforce at Your CompanySalesforce Admins
 
Your Lightning Game Plan in 3 Steps
Your Lightning Game Plan in 3 StepsYour Lightning Game Plan in 3 Steps
Your Lightning Game Plan in 3 StepsSalesforce Admins
 
Webinar: How Admins Solve Problems with AppExchange Apps
Webinar: How Admins Solve Problems with AppExchange AppsWebinar: How Admins Solve Problems with AppExchange Apps
Webinar: How Admins Solve Problems with AppExchange AppsSalesforce Admins
 
Build Your Lightning Rollout Plan - September 2017
Build Your Lightning Rollout Plan - September 2017Build Your Lightning Rollout Plan - September 2017
Build Your Lightning Rollout Plan - September 2017Salesforce Admins
 
Essential Habits for New Admins 2017
Essential Habits for New Admins 2017Essential Habits for New Admins 2017
Essential Habits for New Admins 2017Salesforce Admins
 
How to Become a Security-Minded Admin
How to Become a Security-Minded AdminHow to Become a Security-Minded Admin
How to Become a Security-Minded AdminSalesforce Admins
 
How to Build an AppExchange Strategy
How to Build an AppExchange StrategyHow to Build an AppExchange Strategy
How to Build an AppExchange StrategySalesforce Admins
 
Get Nerdy with Lightning Experience Page Layouts
Get Nerdy with Lightning Experience Page LayoutsGet Nerdy with Lightning Experience Page Layouts
Get Nerdy with Lightning Experience Page LayoutsSalesforce Admins
 
Webinar: Best Practices for Rolling Out Einstein
Webinar: Best Practices for Rolling Out EinsteinWebinar: Best Practices for Rolling Out Einstein
Webinar: Best Practices for Rolling Out EinsteinSalesforce Admins
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerSalesforce Admins
 
Salesforce for Admins Keynote - Dreamforce 2016
Salesforce for Admins Keynote - Dreamforce 2016Salesforce for Admins Keynote - Dreamforce 2016
Salesforce for Admins Keynote - Dreamforce 2016Salesforce Admins
 

Tendances (20)

Webinar: Be a Builder! Leverage App Builder to Deliver Innovation
Webinar: Be a Builder! Leverage App Builder to Deliver InnovationWebinar: Be a Builder! Leverage App Builder to Deliver Innovation
Webinar: Be a Builder! Leverage App Builder to Deliver Innovation
 
Supercharge Productivity With Lightning Console Apps
Supercharge Productivity With Lightning Console AppsSupercharge Productivity With Lightning Console Apps
Supercharge Productivity With Lightning Console Apps
 
Make Apps Smarter with Einstein
Make Apps Smarter with EinsteinMake Apps Smarter with Einstein
Make Apps Smarter with Einstein
 
Admins are Critical Change Agents
Admins are Critical Change AgentsAdmins are Critical Change Agents
Admins are Critical Change Agents
 
Salesforce on Salesforce: How our Admin Team Led the Lightning Switch
Salesforce on Salesforce: How our Admin Team Led the Lightning SwitchSalesforce on Salesforce: How our Admin Team Led the Lightning Switch
Salesforce on Salesforce: How our Admin Team Led the Lightning Switch
 
6 Reporting Formulas That Will Delight Your Users
6 Reporting FormulasThat Will Delight Your Users6 Reporting FormulasThat Will Delight Your Users
6 Reporting Formulas That Will Delight Your Users
 
Move to Lightning in 60 Days - Admin Webinar
Move to Lightning in 60 Days - Admin WebinarMove to Lightning in 60 Days - Admin Webinar
Move to Lightning in 60 Days - Admin Webinar
 
Essential habits for New Admins 02.18
Essential habits for New Admins 02.18Essential habits for New Admins 02.18
Essential habits for New Admins 02.18
 
Drive Adoption of Salesforce at Your Company
Drive Adoption of Salesforce at Your CompanyDrive Adoption of Salesforce at Your Company
Drive Adoption of Salesforce at Your Company
 
Your Lightning Game Plan in 3 Steps
Your Lightning Game Plan in 3 StepsYour Lightning Game Plan in 3 Steps
Your Lightning Game Plan in 3 Steps
 
Webinar: How Admins Solve Problems with AppExchange Apps
Webinar: How Admins Solve Problems with AppExchange AppsWebinar: How Admins Solve Problems with AppExchange Apps
Webinar: How Admins Solve Problems with AppExchange Apps
 
Build Your Lightning Rollout Plan - September 2017
Build Your Lightning Rollout Plan - September 2017Build Your Lightning Rollout Plan - September 2017
Build Your Lightning Rollout Plan - September 2017
 
Essential Habits for New Admins 2017
Essential Habits for New Admins 2017Essential Habits for New Admins 2017
Essential Habits for New Admins 2017
 
How to Become a Security-Minded Admin
How to Become a Security-Minded AdminHow to Become a Security-Minded Admin
How to Become a Security-Minded Admin
 
How to Build an AppExchange Strategy
How to Build an AppExchange StrategyHow to Build an AppExchange Strategy
How to Build an AppExchange Strategy
 
Get Nerdy with Lightning Experience Page Layouts
Get Nerdy with Lightning Experience Page LayoutsGet Nerdy with Lightning Experience Page Layouts
Get Nerdy with Lightning Experience Page Layouts
 
Webinar: Best Practices for Rolling Out Einstein
Webinar: Best Practices for Rolling Out EinsteinWebinar: Best Practices for Rolling Out Einstein
Webinar: Best Practices for Rolling Out Einstein
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce Optimizer
 
Intro to Workflow Formulas
Intro to Workflow FormulasIntro to Workflow Formulas
Intro to Workflow Formulas
 
Salesforce for Admins Keynote - Dreamforce 2016
Salesforce for Admins Keynote - Dreamforce 2016Salesforce for Admins Keynote - Dreamforce 2016
Salesforce for Admins Keynote - Dreamforce 2016
 

Similaire à Decoding Triggers for Admins

Implement Data Governance Around Packaged Apps in Force.com
Implement Data Governance Around Packaged Apps in Force.comImplement Data Governance Around Packaged Apps in Force.com
Implement Data Governance Around Packaged Apps in Force.comSalesforce Developers
 
Best Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgBest Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgSalesforce Developers
 
Bug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer ConsoleBug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer ConsoleMatthew Poe
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceSalesforce Admins
 
Df14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distDf14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distjayvinarora
 
Looking under the hood of your org with eclipse
Looking under the hood of your org with eclipseLooking under the hood of your org with eclipse
Looking under the hood of your org with eclipseJamie Buck-Tomek
 
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...Shell Black
 
Practical Headless Flow Examples
Practical Headless Flow ExamplesPractical Headless Flow Examples
Practical Headless Flow ExamplesSalesforce Admins
 
TDX19 - Untangle Your Org with Salesforce Developer Tools
TDX19 - Untangle Your Org with Salesforce Developer ToolsTDX19 - Untangle Your Org with Salesforce Developer Tools
TDX19 - Untangle Your Org with Salesforce Developer ToolsDoug Ayers
 
Best Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce DataBest Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce DataSalesforce Admins
 
Spring ’15 Release Preview - Platform Feature Highlights
Spring ’15 Release Preview - Platform Feature HighlightsSpring ’15 Release Preview - Platform Feature Highlights
Spring ’15 Release Preview - Platform Feature HighlightsSalesforce Developers
 
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...Salesforce Developers
 
Planning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperiencePlanning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperienceShell Black
 
ISV Tech Talk: Trialforce (October 15, 2014)
ISV Tech Talk: Trialforce (October 15, 2014)ISV Tech Talk: Trialforce (October 15, 2014)
ISV Tech Talk: Trialforce (October 15, 2014)Salesforce Partners
 
The Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow ApplicationsThe Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow ApplicationsDreamforce
 

Similaire à Decoding Triggers for Admins (20)

Implement Data Governance Around Packaged Apps in Force.com
Implement Data Governance Around Packaged Apps in Force.comImplement Data Governance Around Packaged Apps in Force.com
Implement Data Governance Around Packaged Apps in Force.com
 
Best Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgBest Practices for Team Development in a Single Org
Best Practices for Team Development in a Single Org
 
Bug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer ConsoleBug Hunting with the Salesforce Developer Console
Bug Hunting with the Salesforce Developer Console
 
Apex Testing Best Practices
Apex Testing Best PracticesApex Testing Best Practices
Apex Testing Best Practices
 
Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with Governance
 
Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
 
Deep Dive into Apex Triggers
Deep Dive into Apex TriggersDeep Dive into Apex Triggers
Deep Dive into Apex Triggers
 
Df14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distDf14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for dist
 
Looking under the hood of your org with eclipse
Looking under the hood of your org with eclipseLooking under the hood of your org with eclipse
Looking under the hood of your org with eclipse
 
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
 
Practical Headless Flow Examples
Practical Headless Flow ExamplesPractical Headless Flow Examples
Practical Headless Flow Examples
 
Summer '18 Developer Highlights
Summer '18 Developer HighlightsSummer '18 Developer Highlights
Summer '18 Developer Highlights
 
TDX19 - Untangle Your Org with Salesforce Developer Tools
TDX19 - Untangle Your Org with Salesforce Developer ToolsTDX19 - Untangle Your Org with Salesforce Developer Tools
TDX19 - Untangle Your Org with Salesforce Developer Tools
 
Best Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce DataBest Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce Data
 
Spring ’15 Release Preview - Platform Feature Highlights
Spring ’15 Release Preview - Platform Feature HighlightsSpring ’15 Release Preview - Platform Feature Highlights
Spring ’15 Release Preview - Platform Feature Highlights
 
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
 
Planning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning ExperiencePlanning Your Migration to the Lightning Experience
Planning Your Migration to the Lightning Experience
 
ISV Tech Talk: Trialforce (October 15, 2014)
ISV Tech Talk: Trialforce (October 15, 2014)ISV Tech Talk: Trialforce (October 15, 2014)
ISV Tech Talk: Trialforce (October 15, 2014)
 
The Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow ApplicationsThe Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow Applications
 

Plus de Salesforce Admins

Admin Best Practices: Dashboards for Every Admin
Admin Best Practices: Dashboards for Every AdminAdmin Best Practices: Dashboards for Every Admin
Admin Best Practices: Dashboards for Every AdminSalesforce Admins
 
Admin Best Practices: Building Useful Formulas
Admin Best Practices: Building Useful FormulasAdmin Best Practices: Building Useful Formulas
Admin Best Practices: Building Useful FormulasSalesforce Admins
 
Admin Best Practices: 3 Steps to Seamless Deployments
Admin Best Practices: 3 Steps to Seamless DeploymentsAdmin Best Practices: 3 Steps to Seamless Deployments
Admin Best Practices: 3 Steps to Seamless DeploymentsSalesforce Admins
 
Awesome Admins Automate: Integrate Flow with AI and Chatbots
Awesome Admins Automate: Integrate Flow with AI and ChatbotsAwesome Admins Automate: Integrate Flow with AI and Chatbots
Awesome Admins Automate: Integrate Flow with AI and ChatbotsSalesforce Admins
 
#AwesomeAdmins Automate: Create Triggered Flows and Batch Jobs
#AwesomeAdmins Automate:  Create Triggered Flows and Batch Jobs#AwesomeAdmins Automate:  Create Triggered Flows and Batch Jobs
#AwesomeAdmins Automate: Create Triggered Flows and Batch JobsSalesforce Admins
 
Admin Best Practices: Introducing Einstein Recommendation Builder
Admin Best Practices: Introducing Einstein Recommendation BuilderAdmin Best Practices: Introducing Einstein Recommendation Builder
Admin Best Practices: Introducing Einstein Recommendation BuilderSalesforce Admins
 
Admin Best Practices: Remove Security Risk From Your Org with a User Audit
Admin Best Practices: Remove Security Risk From Your Org with a User AuditAdmin Best Practices: Remove Security Risk From Your Org with a User Audit
Admin Best Practices: Remove Security Risk From Your Org with a User AuditSalesforce Admins
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New AdminsSalesforce Admins
 
Essential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsEssential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsSalesforce Admins
 
Essential Habits for Salesforce Admins: Security
Essential Habits for Salesforce Admins: SecurityEssential Habits for Salesforce Admins: Security
Essential Habits for Salesforce Admins: SecuritySalesforce Admins
 
Essential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementEssential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementSalesforce Admins
 
Essential Habits for Salesforce Admins: User Management
Essential Habits for Salesforce Admins: User ManagementEssential Habits for Salesforce Admins: User Management
Essential Habits for Salesforce Admins: User ManagementSalesforce Admins
 
Admin Best Practices: Explore the Power of Data with Tableau
Admin Best Practices: Explore the Power of Data with TableauAdmin Best Practices: Explore the Power of Data with Tableau
Admin Best Practices: Explore the Power of Data with TableauSalesforce Admins
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New AdminsSalesforce Admins
 
Admin trailhead Live: Leverage Einstein Search to Increase Productivity
Admin trailhead Live: Leverage Einstein Search to Increase ProductivityAdmin trailhead Live: Leverage Einstein Search to Increase Productivity
Admin trailhead Live: Leverage Einstein Search to Increase ProductivitySalesforce Admins
 
Admin Best Practices: Reports & Dashboards
Admin Best Practices: Reports & DashboardsAdmin Best Practices: Reports & Dashboards
Admin Best Practices: Reports & DashboardsSalesforce Admins
 
Trailhead Live: Essential Habits & Core Admin Responsibilities
Trailhead Live: Essential Habits & Core Admin ResponsibilitiesTrailhead Live: Essential Habits & Core Admin Responsibilities
Trailhead Live: Essential Habits & Core Admin ResponsibilitiesSalesforce Admins
 
Build AI-Powered Predictions with Einstein Prediction Builder
Build AI-Powered Predictions with Einstein Prediction BuilderBuild AI-Powered Predictions with Einstein Prediction Builder
Build AI-Powered Predictions with Einstein Prediction BuilderSalesforce Admins
 
Trailhead Live: Build an Awesome Team of Admins
Trailhead Live: Build an Awesome Team of AdminsTrailhead Live: Build an Awesome Team of Admins
Trailhead Live: Build an Awesome Team of AdminsSalesforce Admins
 
Semper Salesforce: Become a Salesforce Military Champion
Semper Salesforce: Become a Salesforce Military ChampionSemper Salesforce: Become a Salesforce Military Champion
Semper Salesforce: Become a Salesforce Military ChampionSalesforce Admins
 

Plus de Salesforce Admins (20)

Admin Best Practices: Dashboards for Every Admin
Admin Best Practices: Dashboards for Every AdminAdmin Best Practices: Dashboards for Every Admin
Admin Best Practices: Dashboards for Every Admin
 
Admin Best Practices: Building Useful Formulas
Admin Best Practices: Building Useful FormulasAdmin Best Practices: Building Useful Formulas
Admin Best Practices: Building Useful Formulas
 
Admin Best Practices: 3 Steps to Seamless Deployments
Admin Best Practices: 3 Steps to Seamless DeploymentsAdmin Best Practices: 3 Steps to Seamless Deployments
Admin Best Practices: 3 Steps to Seamless Deployments
 
Awesome Admins Automate: Integrate Flow with AI and Chatbots
Awesome Admins Automate: Integrate Flow with AI and ChatbotsAwesome Admins Automate: Integrate Flow with AI and Chatbots
Awesome Admins Automate: Integrate Flow with AI and Chatbots
 
#AwesomeAdmins Automate: Create Triggered Flows and Batch Jobs
#AwesomeAdmins Automate:  Create Triggered Flows and Batch Jobs#AwesomeAdmins Automate:  Create Triggered Flows and Batch Jobs
#AwesomeAdmins Automate: Create Triggered Flows and Batch Jobs
 
Admin Best Practices: Introducing Einstein Recommendation Builder
Admin Best Practices: Introducing Einstein Recommendation BuilderAdmin Best Practices: Introducing Einstein Recommendation Builder
Admin Best Practices: Introducing Einstein Recommendation Builder
 
Admin Best Practices: Remove Security Risk From Your Org with a User Audit
Admin Best Practices: Remove Security Risk From Your Org with a User AuditAdmin Best Practices: Remove Security Risk From Your Org with a User Audit
Admin Best Practices: Remove Security Risk From Your Org with a User Audit
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New Admins
 
Essential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsEssential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable Analytics
 
Essential Habits for Salesforce Admins: Security
Essential Habits for Salesforce Admins: SecurityEssential Habits for Salesforce Admins: Security
Essential Habits for Salesforce Admins: Security
 
Essential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementEssential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data Management
 
Essential Habits for Salesforce Admins: User Management
Essential Habits for Salesforce Admins: User ManagementEssential Habits for Salesforce Admins: User Management
Essential Habits for Salesforce Admins: User Management
 
Admin Best Practices: Explore the Power of Data with Tableau
Admin Best Practices: Explore the Power of Data with TableauAdmin Best Practices: Explore the Power of Data with Tableau
Admin Best Practices: Explore the Power of Data with Tableau
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New Admins
 
Admin trailhead Live: Leverage Einstein Search to Increase Productivity
Admin trailhead Live: Leverage Einstein Search to Increase ProductivityAdmin trailhead Live: Leverage Einstein Search to Increase Productivity
Admin trailhead Live: Leverage Einstein Search to Increase Productivity
 
Admin Best Practices: Reports & Dashboards
Admin Best Practices: Reports & DashboardsAdmin Best Practices: Reports & Dashboards
Admin Best Practices: Reports & Dashboards
 
Trailhead Live: Essential Habits & Core Admin Responsibilities
Trailhead Live: Essential Habits & Core Admin ResponsibilitiesTrailhead Live: Essential Habits & Core Admin Responsibilities
Trailhead Live: Essential Habits & Core Admin Responsibilities
 
Build AI-Powered Predictions with Einstein Prediction Builder
Build AI-Powered Predictions with Einstein Prediction BuilderBuild AI-Powered Predictions with Einstein Prediction Builder
Build AI-Powered Predictions with Einstein Prediction Builder
 
Trailhead Live: Build an Awesome Team of Admins
Trailhead Live: Build an Awesome Team of AdminsTrailhead Live: Build an Awesome Team of Admins
Trailhead Live: Build an Awesome Team of Admins
 
Semper Salesforce: Become a Salesforce Military Champion
Semper Salesforce: Become a Salesforce Military ChampionSemper Salesforce: Become a Salesforce Military Champion
Semper Salesforce: Become a Salesforce Military Champion
 

Dernier

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Decoding Triggers for Admins

  • 2. Kieren Jameson Trailhead Content Engineer Salesforce @KierenJameson Marc Baizman Admin Evangelist Salesforce @MBaizman Today’s Speakers
  • 3. This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements. Statement under the Private Securities Litigation Reform Act of 1995 Forward-Looking Statement
  • 4. Connect with Us! Salesforce Admins @SalesforceAdmns #AwesomeAdmin admin.salesforce.com Salesforce Admins Salesforce Admins
  • 5. Watch the Recording The video will be posted to YouTube & the webinar recap page: bit.ly/DecodeTriggers This webinar is being recorded!
  • 6. Join the Admin Webinar Group for Q&A! Don’t wait until the end to ask your question! • We have team members on hand to answer questions in the webinar group. Stick around for live Q&A at the end! • Speakers will tackle more questions at the end, time-allowing bit.ly/AdminWebinarGroup
  • 7. • Trigger overview & best practices • Example trigger • Resources • Q&A Today’s Agenda
  • 8. Trigger Overview & Best Practices
  • 9. Importance of Understanding Triggers Triggers Your Salesforce org All the things you know And then there are triggers
  • 10. • Triggers kick off code-based automated processes in Salesforce. • They listen for certain database events (e.g., a record being inserted, updated, deleted, etc.). • They link to the code that makes the magic happen. (Note: There are other ways this can an be structured, but best practice is to link to the “magic- causing” code.) What Are Apex Triggers? Change(s) made to records in org Trigger says, ”Oooh, I know what to do!” END Trigger sends all the records that were just changed to a piece of code that does something with these records.
  • 11. Triggers let us do things like… • Compare data before & after a change is made. • Create new, and update existing, related (or unrelated) records. • Delete records. • Interact with external data and web services (e.g., external databases & SMS text message services). Use Cases For Triggers
  • 12. Before trigger = before “save” • Work with data before it is committed (saved) to the database. • Are great for validating data or setting values programmatically. Difference Between Before and After in Triggers After trigger = after “save” • Work with data after the data is committed (saved) to the database • Are great for using the values you just updated/created to create new or update existing records.
  • 13. Change(s) made to records in org Trigger fires END That code does stuff: validate data, compare values, change data before “save” BEFORE “SAVE” Trigger fires linked code Trigger fires linked code That code does stuff: create related records, find related records based on IDs of new records AFTER “SAVE” saved data to org Object Trigger Chain of Events
  • 14. Basic Structure of a Trigger (after insert, after update) { BEFORE § Insert § Update § Delete AFTER § Insert § Update § Delete § Undelete
  • 15. Where Does All This Code Go? Why do this? § Easier to reuse code § Easier to understand code § Easier to write distinct unit tests Bonus best practice: One trigger per object makes it easier to control order that each piece of code will run. Best Practice Change(s) made to records in org Trigger calls out to one or more classes Classes contains the code that “does stuff” END Common Practice ^ Change(s) made to records in org Trigger contains all the code that “does stuff” END but not so good
  • 17. Each recipe can have many reviews. Each review has one reviewer. Cooking with Code: Example of a Trigger Users ID First Name Last Name Review__c ID Recipe__c Reviewer__c Recipe__c ID
  • 18. When recipes are inserted or updated in our org, then… 1. Check each recipe for the Number_of_Reviews__c: a. If there are reviews, then do nothing. b. If there are no reviews, then create one and set some default data (review name, reviewer, due date, status, etc.) 2. Save the new records back in the org Trigger Scenario
  • 19. trigger.new list Stores affected records in trigger.new, then calls a method inside a class and passes it the trigger.new list new & updated recipes listRecipes list newReviews list For each recipe, if no reviews, then create one and add it to the newReviews list ? recipes from trigger.new reviews created by method Save new reviews to the org 1,000 new & updated recipes
  • 21. Today We Learned: • Triggers and classes are just types of files that contain code. Methods live within classes, and contain the code that “does all the things”. • Triggers can work on records before and after you save them to your Salesforce org. • Other coding concepts: • Variables are like temporary storage containers. • Lists are just like buckets, they can store a group of data. • Loops help you evaluate and work on records one-by- one. • IF statements ask a question. Trigger best practices include: • One trigger per object. • Use code comments. • Put the code that does all the things in a class, and then point the trigger to the code in the class. • Don’t be a bad tenant, bulkify your code. Don’t save records one-by- one, but rather put them in a list, then save the list to your org.
  • 23. Trailhead.com The fun way to learn Salesforce Where Can You Go From Here? WomenCodeHeroes.com Helping awesome admins learn to code (decoder ring included) sfdc99.com Apex coding for the 99% RADWomen.org Learn to code on the Salesforce Platform with other women
  • 25.
  • 26.
  • 27.
  • 28.