SlideShare a Scribd company logo
Do more within Salesforce
Governor Limits using
Platform Events
An awesome new tool for your utility belt
Founder
ARRNAV
Roy Gilad
CEO
Praxis LLC
Ohad Idan
Dreamforce 2019: Do More Within Salesforce Governor Limits using Platform Events
Forward Looking Statement
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation contains forward-looking statements about the company’s financial and operating results, which may include expected GAAP and non-GAAP financial and other operating and non-operating results,
including revenue, net income, diluted earnings per share, operating cash flow growth, operating margin improvement, expected revenue growth, expected current remaining performance obligation growth,
expected tax rates, the one-time accounting non-cash charge that was incurred in connection with the Salesforce.org combination; stock-based compensation expenses, amortization of purchased intangibles, shares
outstanding, market growth and sustainability goals. The achievement or success of the matters covered by such forward-looking statements involves risks, uncertainties and assumptions. If any such risks or
uncertainties materialize or if any of the assumptions prove incorrect, the company’s results could differ materially from the results expressed or implied by the forward-looking statements we make.
The risks and uncertainties referred to above include -- but are not limited to -- risks associated with the effect of general economic and market conditions; the impact of geopolitical events; the impact of foreign
currency exchange rate and interest rate fluctuations on our results; our business strategy and our plan to build our business, including our strategy to be the leading provider of enterprise cloud computing
applications and platforms; the pace of change and innovation in enterprise cloud computing services; the seasonal nature of our sales cycles; the competitive nature of the market in which we participate; our
international expansion strategy; the demands on our personnel and infrastructure resulting from significant growth in our customer base and operations, including as a result of acquisitions; our service
performance and security, including the resources and costs required to avoid unanticipated downtime and prevent, detect and remediate potential security breaches; the expenses associated with new data centers
and third-party infrastructure providers; additional data center capacity; real estate and office facilities space; our operating results and cash flows; new services and product features, including any efforts to expand
our services beyond the CRM market; our strategy of acquiring or making investments in complementary businesses, joint ventures, services, technologies and intellectual property rights; the performance and fair
value of our investments in complementary businesses through our strategic investment portfolio; our ability to realize the benefits from strategic partnerships, joint ventures and investments; the impact of future
gains or losses from our strategic investment portfolio, including gains or losses from overall market conditions that may affect the publicly traded companies within the company's strategic investment portfolio; our
ability to execute our business plans; our ability to successfully integrate acquired businesses and technologies, including delays related to the integration of Tableau due to regulatory review by the United Kingdom
Competition and Markets Authority; our ability to continue to grow unearned revenue and remaining performance obligation; our ability to protect our intellectual property rights; our ability to develop our brands;
our reliance on third-party hardware, software and platform providers; our dependency on the development and maintenance of the infrastructure of the Internet; the effect of evolving domestic and foreign
government regulations, including those related to the provision of services on the Internet, those related to accessing the Internet, and those addressing data privacy, cross-border data transfers and import and
export controls; the valuation of our deferred tax assets and the release of related valuation allowances; the potential availability of additional tax assets in the future; the impact of new accounting pronouncements
and tax laws; uncertainties affecting our ability to estimate our tax rate; the impact of expensing stock options and other equity awards; the sufficiency of our capital resources; factors related to our outstanding
debt, revolving credit facility, term loan and loan associated with 50 Fremont; compliance with our debt covenants and lease obligations; current and potential litigation involving us; and the impact of climate
change.
Further information on these and other factors that could affect the company’s financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings it makes with the Securities and Exchange
Commission from time to time. These documents are available on the SEC Filings section of the Investor Information section of the company’s website at www.salesforce.com/investor.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements, except as required by law.
Founder
ARRNAV
@roygilad
Roy Gilad
Founder and CEO
Praxis LLC
@ohgodohad
Ohad Idan
Who we are?
@roygilad
Blazing trails since 2009
6 X Certified
User Group Leader since 2010
Salesforce MVP since 2016
Roy Gilad
@ohgodohad
Blazing trails since 2010
8 x Certified
Developer User Group Leader since 2014
Salesforce MVP since 2017
Ohad Idan
Who we are?
With me in Israel, my wife,
three kids, two cats, and one dog
With my wife I manage a portfolio of
1 daughter and a cat
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
What are Governor limits?
And why should we care?
Do more within Salesforce Governor Limits using Platform Events
Until now… Go Async!
What do we do when we hit a wall?
* Batch of Cookies!
Synchronous vs. Asynchronous
Synchronous
Execution
Synchronous vs. Asynchronous
User Experience Gap
But what if there was another way?
Do more within Salesforce Governor Limits using Platform Events
But what if there was another way?
Do more within Salesforce Governor Limits using Platform Events
But what if there was another way?
Do more within Salesforce Governor Limits using Platform Events
Enter Platform Events
Like a superpower you didn’t even know you had
Do more within Salesforce Governor Limits using Platform Events
SObjects__c Platform_Events__e
DMLs (Insert, Update, Delete) Publish (Insert only)
SOQL Streaming API
Triggers Subscribers
Parallel context execution Guaranteed order of execution
Enter Platform Events
Like a superpower you didn’t even know you had
Do more within Salesforce Governor Limits using Platform Events
Platform Events - Execution Timing
Like a superpower you didn’t even know you had
Do more within Salesforce Governor Limits using Platform Events
Platform Events - Execution Timing
Like a superpower you didn’t even know you had
Do more within Salesforce Governor Limits using Platform Events
1
2
3
Other Consideration
Like a superpower you didn’t even know you had
Do more within Salesforce Governor Limits using Platform Events
SYNCHRONOUS
Governor Limits
2000 > 200
Record per Transaction
CONTROL TRANSACTION SIZE
Dynamically break execution context
EventBus.TriggerContext.currentContext().setResumeCheckpoint(replayId);
Let’s roll up our sleeves and get our
hands on some Platform Events!
Scenario: Mixed DML in Declarative Development
As an administrator, John wants to use Salesforce to obtain and track approvals for
user’s role change. When a request for a role change is approved, he wants the
role to automatically be updated for the related user.
Solve real challenges
with Platform Events
Scenario: Mixed DML in Apex Code
As a developer, Jennifer was tasked to create code that, upon
approval of a Role Change Request, will add the user to a public
group with the same name as their new role, and remove them from
a public group with their old role name.
Admins and Developer
All LOVE Platform Events
Scenario: Chaining Multiple ASync processes
As an Architect, Maggie was tasked with designing a solution to
handle multiple large-volume transactions that have to occur when a
role-change is completed:
- Mass update all opportunities owned by the promoted user
- Recalculate commission payments
- Push opportunity owner updates to the company’s ERP
* The business does not want the 2nd and 3rd tasks to be
performed in sequence, but rather in parallel
Challenge: Salesforce only allows chaining one job at the
end of an async process
Scenario: Chaining Multiple ASync processes
Role Change
Get Opportunities
of Role Changed
Users
Get All User With
Previous Role
And Their
Capacity
Distribute
Opportunities
Based On
Capacity
Send Opps New
Owners to
Company’s ERP
Recalculate
Commissions
A few more use-cases
Platform Events Can Do
Even More!
● Multi-threaded processing
● Control the execution context size (number of records)
● Web Service Callouts from Platform Events*
● Re-usability of execution in a separate context
Trailmix: Getting Started With Platform Events
http://bit.ly/StartWithPE
Source Code: https://github.com/RoyGilad/Dreamforce-2019-Do-
more-within-Salesforce-Governor-Limits-using-Platform-Events
Documentation: Platform Events Developer Guide
Do more within Salesforce Governor Limits using Platform Events
Learn more about Platform Events
Dreamforce 2019: Do More Within Salesforce Governor Limits using Platform Events
Founder
ARRNAV
@roygilad
linkedin.com/in/roygilad
roy@arrnav.com
Roy Gilad
Founder and CEO
Praxis LLC
@ohgodohad
linkedin.com/in/ohadidan
ohad@getpraxis.com
Ohad Idan
We’d love to hear from you!
Q & A
Ad

More Related Content

What's hot (14)

Experience cloud for salesforce user group wellington may 2021
Experience cloud for salesforce user group wellington may 2021Experience cloud for salesforce user group wellington may 2021
Experience cloud for salesforce user group wellington may 2021
Anna Loughnan Colquhoun
 
Trailhead live - Overview of Salesforce App Cloud
Trailhead live - Overview of Salesforce App CloudTrailhead live - Overview of Salesforce App Cloud
Trailhead live - Overview of Salesforce App Cloud
John Stevenson
 
Salesforce Spring '16 Release Overview
Salesforce Spring '16 Release OverviewSalesforce Spring '16 Release Overview
Salesforce Spring '16 Release Overview
Roy Gilad
 
Hybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce SuccessHybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce Success
Darren Cunningham
 
Salesforce for Platform
Salesforce for PlatformSalesforce for Platform
Salesforce for Platform
Sebastian Wieland
 
Expert Hour: Salesforce integration tools - why, what & how?
Expert Hour:  Salesforce integration tools - why, what & how?Expert Hour:  Salesforce integration tools - why, what & how?
Expert Hour: Salesforce integration tools - why, what & how?
Geraldine Gray
 
Salesforfce Summer '17 release overview deck
Salesforfce Summer '17 release overview deckSalesforfce Summer '17 release overview deck
Salesforfce Summer '17 release overview deck
Roy Gilad
 
Salesforce Spring19 Release Overview Deck
Salesforce Spring19 Release Overview DeckSalesforce Spring19 Release Overview Deck
Salesforce Spring19 Release Overview Deck
Roy Gilad
 
Salesforce Spring '21 - Release Overview
Salesforce Spring '21 - Release OverviewSalesforce Spring '21 - Release Overview
Salesforce Spring '21 - Release Overview
Bordeaux Salesforce Developer Group
 
Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
Thierry TROUIN ☁
 
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Anna Loughnan Colquhoun
 
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Prag Ravichandran Kamalaveni (he/him)
 
Developing on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not CodeDeveloping on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not Code
Salesforce Developers
 
Salesforce Winter 15 Release Overview
Salesforce Winter 15 Release OverviewSalesforce Winter 15 Release Overview
Salesforce Winter 15 Release Overview
Roy Gilad
 
Experience cloud for salesforce user group wellington may 2021
Experience cloud for salesforce user group wellington may 2021Experience cloud for salesforce user group wellington may 2021
Experience cloud for salesforce user group wellington may 2021
Anna Loughnan Colquhoun
 
Trailhead live - Overview of Salesforce App Cloud
Trailhead live - Overview of Salesforce App CloudTrailhead live - Overview of Salesforce App Cloud
Trailhead live - Overview of Salesforce App Cloud
John Stevenson
 
Salesforce Spring '16 Release Overview
Salesforce Spring '16 Release OverviewSalesforce Spring '16 Release Overview
Salesforce Spring '16 Release Overview
Roy Gilad
 
Hybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce SuccessHybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce Success
Darren Cunningham
 
Expert Hour: Salesforce integration tools - why, what & how?
Expert Hour:  Salesforce integration tools - why, what & how?Expert Hour:  Salesforce integration tools - why, what & how?
Expert Hour: Salesforce integration tools - why, what & how?
Geraldine Gray
 
Salesforfce Summer '17 release overview deck
Salesforfce Summer '17 release overview deckSalesforfce Summer '17 release overview deck
Salesforfce Summer '17 release overview deck
Roy Gilad
 
Salesforce Spring19 Release Overview Deck
Salesforce Spring19 Release Overview DeckSalesforce Spring19 Release Overview Deck
Salesforce Spring19 Release Overview Deck
Roy Gilad
 
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Wellington Salesforce Trailblazer Community August 2021 Virtual Meeting with ...
Anna Loughnan Colquhoun
 
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Dreamforce 2019: "Using Quip for Better Documentation of your Salesforce Org"
Prag Ravichandran Kamalaveni (he/him)
 
Developing on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not CodeDeveloping on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not Code
Salesforce Developers
 
Salesforce Winter 15 Release Overview
Salesforce Winter 15 Release OverviewSalesforce Winter 15 Release Overview
Salesforce Winter 15 Release Overview
Roy Gilad
 

Similar to Dreamforce 2019: Do More Within Salesforce Governor Limits using Platform Events (20)

How to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce LimitsHow to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce Limits
Roy Gilad
 
Alba Rivas - Building Slack Applications with Bolt.js.pdf
Alba Rivas - Building Slack Applications with Bolt.js.pdfAlba Rivas - Building Slack Applications with Bolt.js.pdf
Alba Rivas - Building Slack Applications with Bolt.js.pdf
MarkPawlikowski2
 
Dreamforce Global Gathering
Dreamforce Global GatheringDreamforce Global Gathering
Dreamforce Global Gathering
Sudipta Deb ☁
 
Demystify Metadata Relationships with the Dependency API
Demystify Metadata Relationships with the Dependency APIDemystify Metadata Relationships with the Dependency API
Demystify Metadata Relationships with the Dependency API
Developer Force
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Deep dive into salesforce connected app part 4
Deep dive into salesforce connected app   part 4Deep dive into salesforce connected app   part 4
Deep dive into salesforce connected app part 4
Mohith Shrivastava
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
Sudipta Deb ☁
 
Let's Learn About Heroku and How to Integrate with Salesforce
Let's Learn About Heroku and How to Integrate with SalesforceLet's Learn About Heroku and How to Integrate with Salesforce
Let's Learn About Heroku and How to Integrate with Salesforce
Sudipta Deb ☁
 
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
New Delhi Salesforce Developer Group
 
Lightning Components 101: An Apex Developer's Guide
Lightning Components 101: An Apex Developer's GuideLightning Components 101: An Apex Developer's Guide
Lightning Components 101: An Apex Developer's Guide
Adam Olshansky
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New Admins
Salesforce Admins
 
TrailheadX Presentation - 2020 Cluj
TrailheadX Presentation -  2020 ClujTrailheadX Presentation -  2020 Cluj
TrailheadX Presentation - 2020 Cluj
Arpad Komaromi
 
WT19: Platform Events Are for Admins Too!
WT19: Platform Events Are for Admins Too! WT19: Platform Events Are for Admins Too!
WT19: Platform Events Are for Admins Too!
Salesforce Admins
 
Become a rockstar admin
Become a rockstar adminBecome a rockstar admin
Become a rockstar admin
Mohith Shrivastava
 
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program ArchitectSalesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
gemziebeth
 
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Jihun Jung
 
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
Salesforce Admins
 
London Salesforce Developers TDX 20 Global Gathering
London Salesforce Developers TDX 20 Global GatheringLondon Salesforce Developers TDX 20 Global Gathering
London Salesforce Developers TDX 20 Global Gathering
Keir Bowden
 
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
WT19: 5 Game-Changing Flow Solutions to Level Up Your OrgWT19: 5 Game-Changing Flow Solutions to Level Up Your Org
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
Salesforce 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 Responsibilities
Salesforce Admins
 
How to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce LimitsHow to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce Limits
Roy Gilad
 
Alba Rivas - Building Slack Applications with Bolt.js.pdf
Alba Rivas - Building Slack Applications with Bolt.js.pdfAlba Rivas - Building Slack Applications with Bolt.js.pdf
Alba Rivas - Building Slack Applications with Bolt.js.pdf
MarkPawlikowski2
 
Dreamforce Global Gathering
Dreamforce Global GatheringDreamforce Global Gathering
Dreamforce Global Gathering
Sudipta Deb ☁
 
Demystify Metadata Relationships with the Dependency API
Demystify Metadata Relationships with the Dependency APIDemystify Metadata Relationships with the Dependency API
Demystify Metadata Relationships with the Dependency API
Developer Force
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Deep dive into salesforce connected app part 4
Deep dive into salesforce connected app   part 4Deep dive into salesforce connected app   part 4
Deep dive into salesforce connected app part 4
Mohith Shrivastava
 
Let's Learn About Heroku and How to Integrate with Salesforce
Let's Learn About Heroku and How to Integrate with SalesforceLet's Learn About Heroku and How to Integrate with Salesforce
Let's Learn About Heroku and How to Integrate with Salesforce
Sudipta Deb ☁
 
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
New Delhi Salesforce Developer Group
 
Lightning Components 101: An Apex Developer's Guide
Lightning Components 101: An Apex Developer's GuideLightning Components 101: An Apex Developer's Guide
Lightning Components 101: An Apex Developer's Guide
Adam Olshansky
 
Essential Habits for New Admins
Essential Habits for New AdminsEssential Habits for New Admins
Essential Habits for New Admins
Salesforce Admins
 
TrailheadX Presentation - 2020 Cluj
TrailheadX Presentation -  2020 ClujTrailheadX Presentation -  2020 Cluj
TrailheadX Presentation - 2020 Cluj
Arpad Komaromi
 
WT19: Platform Events Are for Admins Too!
WT19: Platform Events Are for Admins Too! WT19: Platform Events Are for Admins Too!
WT19: Platform Events Are for Admins Too!
Salesforce Admins
 
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program ArchitectSalesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
gemziebeth
 
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Jihun Jung
 
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
Salesforce Admins
 
London Salesforce Developers TDX 20 Global Gathering
London Salesforce Developers TDX 20 Global GatheringLondon Salesforce Developers TDX 20 Global Gathering
London Salesforce Developers TDX 20 Global Gathering
Keir Bowden
 
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
WT19: 5 Game-Changing Flow Solutions to Level Up Your OrgWT19: 5 Game-Changing Flow Solutions to Level Up Your Org
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
Salesforce 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 Responsibilities
Salesforce Admins
 
Ad

More from Roy Gilad (20)

Salesforce Order of Execution Chart
Salesforce Order of Execution ChartSalesforce Order of Execution Chart
Salesforce Order of Execution Chart
Roy Gilad
 
Sales cloud: The Sales-Operations & Salesforce Admin relationship
Sales cloud: The Sales-Operations & Salesforce Admin relationshipSales cloud: The Sales-Operations & Salesforce Admin relationship
Sales cloud: The Sales-Operations & Salesforce Admin relationship
Roy Gilad
 
Decluttering your Salesfroce org
Decluttering your Salesfroce orgDecluttering your Salesfroce org
Decluttering your Salesfroce org
Roy Gilad
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)
Roy Gilad
 
Salesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to appSalesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to app
Roy Gilad
 
Salesforce Spring 17 Release Overview
Salesforce Spring 17 Release OverviewSalesforce Spring 17 Release Overview
Salesforce Spring 17 Release Overview
Roy Gilad
 
Salesforce Winter 17 Release Overview
Salesforce Winter 17 Release OverviewSalesforce Winter 17 Release Overview
Salesforce Winter 17 Release Overview
Roy Gilad
 
Salesforce Market Overview - Internal WalkMe's
Salesforce Market Overview - Internal WalkMe'sSalesforce Market Overview - Internal WalkMe's
Salesforce Market Overview - Internal WalkMe's
Roy Gilad
 
Salesforce Winter 16 Release Overview
Salesforce Winter 16 Release OverviewSalesforce Winter 16 Release Overview
Salesforce Winter 16 Release Overview
Roy Gilad
 
Salesforce Winter 16: Highlights!
Salesforce Winter 16: Highlights!Salesforce Winter 16: Highlights!
Salesforce Winter 16: Highlights!
Roy Gilad
 
Salesforce Trailhead - what is it?
Salesforce Trailhead  - what is it?Salesforce Trailhead  - what is it?
Salesforce Trailhead - what is it?
Roy Gilad
 
WalkMe: The Salesforce Success Story
WalkMe: The Salesforce Success StoryWalkMe: The Salesforce Success Story
WalkMe: The Salesforce Success Story
Roy Gilad
 
Salesforce: Spring Cleaning!
Salesforce: Spring Cleaning!Salesforce: Spring Cleaning!
Salesforce: Spring Cleaning!
Roy Gilad
 
Salesforce Spring 15 release overview deck
Salesforce Spring 15 release overview deckSalesforce Spring 15 release overview deck
Salesforce Spring 15 release overview deck
Roy Gilad
 
What is Salesforce lighting explained
What is Salesforce lighting explainedWhat is Salesforce lighting explained
What is Salesforce lighting explained
Roy Gilad
 
SalesforceA: What it can be
SalesforceA: What it can beSalesforceA: What it can be
SalesforceA: What it can be
Roy Gilad
 
Salesforce Summer '14 release overview
Salesforce Summer '14 release overviewSalesforce Summer '14 release overview
Salesforce Summer '14 release overview
Roy Gilad
 
Salesforce Spring 14 Release Developer Overview
Salesforce Spring 14 Release Developer OverviewSalesforce Spring 14 Release Developer Overview
Salesforce Spring 14 Release Developer Overview
Roy Gilad
 
Intro to salesforce platform for developers
Intro to salesforce platform for developersIntro to salesforce platform for developers
Intro to salesforce platform for developers
Roy Gilad
 
What is force.com?
What is force.com?What is force.com?
What is force.com?
Roy Gilad
 
Salesforce Order of Execution Chart
Salesforce Order of Execution ChartSalesforce Order of Execution Chart
Salesforce Order of Execution Chart
Roy Gilad
 
Sales cloud: The Sales-Operations & Salesforce Admin relationship
Sales cloud: The Sales-Operations & Salesforce Admin relationshipSales cloud: The Sales-Operations & Salesforce Admin relationship
Sales cloud: The Sales-Operations & Salesforce Admin relationship
Roy Gilad
 
Decluttering your Salesfroce org
Decluttering your Salesfroce orgDecluttering your Salesfroce org
Decluttering your Salesfroce org
Roy Gilad
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)
Roy Gilad
 
Salesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to appSalesforce Lightning component framework from 0 to app
Salesforce Lightning component framework from 0 to app
Roy Gilad
 
Salesforce Spring 17 Release Overview
Salesforce Spring 17 Release OverviewSalesforce Spring 17 Release Overview
Salesforce Spring 17 Release Overview
Roy Gilad
 
Salesforce Winter 17 Release Overview
Salesforce Winter 17 Release OverviewSalesforce Winter 17 Release Overview
Salesforce Winter 17 Release Overview
Roy Gilad
 
Salesforce Market Overview - Internal WalkMe's
Salesforce Market Overview - Internal WalkMe'sSalesforce Market Overview - Internal WalkMe's
Salesforce Market Overview - Internal WalkMe's
Roy Gilad
 
Salesforce Winter 16 Release Overview
Salesforce Winter 16 Release OverviewSalesforce Winter 16 Release Overview
Salesforce Winter 16 Release Overview
Roy Gilad
 
Salesforce Winter 16: Highlights!
Salesforce Winter 16: Highlights!Salesforce Winter 16: Highlights!
Salesforce Winter 16: Highlights!
Roy Gilad
 
Salesforce Trailhead - what is it?
Salesforce Trailhead  - what is it?Salesforce Trailhead  - what is it?
Salesforce Trailhead - what is it?
Roy Gilad
 
WalkMe: The Salesforce Success Story
WalkMe: The Salesforce Success StoryWalkMe: The Salesforce Success Story
WalkMe: The Salesforce Success Story
Roy Gilad
 
Salesforce: Spring Cleaning!
Salesforce: Spring Cleaning!Salesforce: Spring Cleaning!
Salesforce: Spring Cleaning!
Roy Gilad
 
Salesforce Spring 15 release overview deck
Salesforce Spring 15 release overview deckSalesforce Spring 15 release overview deck
Salesforce Spring 15 release overview deck
Roy Gilad
 
What is Salesforce lighting explained
What is Salesforce lighting explainedWhat is Salesforce lighting explained
What is Salesforce lighting explained
Roy Gilad
 
SalesforceA: What it can be
SalesforceA: What it can beSalesforceA: What it can be
SalesforceA: What it can be
Roy Gilad
 
Salesforce Summer '14 release overview
Salesforce Summer '14 release overviewSalesforce Summer '14 release overview
Salesforce Summer '14 release overview
Roy Gilad
 
Salesforce Spring 14 Release Developer Overview
Salesforce Spring 14 Release Developer OverviewSalesforce Spring 14 Release Developer Overview
Salesforce Spring 14 Release Developer Overview
Roy Gilad
 
Intro to salesforce platform for developers
Intro to salesforce platform for developersIntro to salesforce platform for developers
Intro to salesforce platform for developers
Roy Gilad
 
What is force.com?
What is force.com?What is force.com?
What is force.com?
Roy Gilad
 
Ad

Recently uploaded (20)

SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 

Dreamforce 2019: Do More Within Salesforce Governor Limits using Platform Events

  • 1. Do more within Salesforce Governor Limits using Platform Events An awesome new tool for your utility belt Founder ARRNAV Roy Gilad CEO Praxis LLC Ohad Idan
  • 3. Forward Looking Statement Statement under the Private Securities Litigation Reform Act of 1995: This presentation contains forward-looking statements about the company’s financial and operating results, which may include expected GAAP and non-GAAP financial and other operating and non-operating results, including revenue, net income, diluted earnings per share, operating cash flow growth, operating margin improvement, expected revenue growth, expected current remaining performance obligation growth, expected tax rates, the one-time accounting non-cash charge that was incurred in connection with the Salesforce.org combination; stock-based compensation expenses, amortization of purchased intangibles, shares outstanding, market growth and sustainability goals. The achievement or success of the matters covered by such forward-looking statements involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions prove incorrect, the company’s results could differ materially from the results expressed or implied by the forward-looking statements we make. The risks and uncertainties referred to above include -- but are not limited to -- risks associated with the effect of general economic and market conditions; the impact of geopolitical events; the impact of foreign currency exchange rate and interest rate fluctuations on our results; our business strategy and our plan to build our business, including our strategy to be the leading provider of enterprise cloud computing applications and platforms; the pace of change and innovation in enterprise cloud computing services; the seasonal nature of our sales cycles; the competitive nature of the market in which we participate; our international expansion strategy; the demands on our personnel and infrastructure resulting from significant growth in our customer base and operations, including as a result of acquisitions; our service performance and security, including the resources and costs required to avoid unanticipated downtime and prevent, detect and remediate potential security breaches; the expenses associated with new data centers and third-party infrastructure providers; additional data center capacity; real estate and office facilities space; our operating results and cash flows; new services and product features, including any efforts to expand our services beyond the CRM market; our strategy of acquiring or making investments in complementary businesses, joint ventures, services, technologies and intellectual property rights; the performance and fair value of our investments in complementary businesses through our strategic investment portfolio; our ability to realize the benefits from strategic partnerships, joint ventures and investments; the impact of future gains or losses from our strategic investment portfolio, including gains or losses from overall market conditions that may affect the publicly traded companies within the company's strategic investment portfolio; our ability to execute our business plans; our ability to successfully integrate acquired businesses and technologies, including delays related to the integration of Tableau due to regulatory review by the United Kingdom Competition and Markets Authority; our ability to continue to grow unearned revenue and remaining performance obligation; our ability to protect our intellectual property rights; our ability to develop our brands; our reliance on third-party hardware, software and platform providers; our dependency on the development and maintenance of the infrastructure of the Internet; the effect of evolving domestic and foreign government regulations, including those related to the provision of services on the Internet, those related to accessing the Internet, and those addressing data privacy, cross-border data transfers and import and export controls; the valuation of our deferred tax assets and the release of related valuation allowances; the potential availability of additional tax assets in the future; the impact of new accounting pronouncements and tax laws; uncertainties affecting our ability to estimate our tax rate; the impact of expensing stock options and other equity awards; the sufficiency of our capital resources; factors related to our outstanding debt, revolving credit facility, term loan and loan associated with 50 Fremont; compliance with our debt covenants and lease obligations; current and potential litigation involving us; and the impact of climate change. Further information on these and other factors that could affect the company’s financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings it makes with the Securities and Exchange Commission from time to time. These documents are available on the SEC Filings section of the Investor Information section of the company’s website at www.salesforce.com/investor. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements, except as required by law.
  • 4. Founder ARRNAV @roygilad Roy Gilad Founder and CEO Praxis LLC @ohgodohad Ohad Idan Who we are?
  • 5. @roygilad Blazing trails since 2009 6 X Certified User Group Leader since 2010 Salesforce MVP since 2016 Roy Gilad @ohgodohad Blazing trails since 2010 8 x Certified Developer User Group Leader since 2014 Salesforce MVP since 2017 Ohad Idan Who we are? With me in Israel, my wife, three kids, two cats, and one dog With my wife I manage a portfolio of 1 daughter and a cat
  • 6. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 7. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 8. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 9. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 10. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 11. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 12. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 13. What are Governor limits? And why should we care? Do more within Salesforce Governor Limits using Platform Events
  • 14. Until now… Go Async! What do we do when we hit a wall? * Batch of Cookies!
  • 17. But what if there was another way? Do more within Salesforce Governor Limits using Platform Events
  • 18. But what if there was another way? Do more within Salesforce Governor Limits using Platform Events
  • 19. But what if there was another way? Do more within Salesforce Governor Limits using Platform Events
  • 20. Enter Platform Events Like a superpower you didn’t even know you had Do more within Salesforce Governor Limits using Platform Events SObjects__c Platform_Events__e DMLs (Insert, Update, Delete) Publish (Insert only) SOQL Streaming API Triggers Subscribers Parallel context execution Guaranteed order of execution
  • 21. Enter Platform Events Like a superpower you didn’t even know you had Do more within Salesforce Governor Limits using Platform Events
  • 22. Platform Events - Execution Timing Like a superpower you didn’t even know you had Do more within Salesforce Governor Limits using Platform Events
  • 23. Platform Events - Execution Timing Like a superpower you didn’t even know you had Do more within Salesforce Governor Limits using Platform Events 1 2 3
  • 24. Other Consideration Like a superpower you didn’t even know you had Do more within Salesforce Governor Limits using Platform Events SYNCHRONOUS Governor Limits 2000 > 200 Record per Transaction CONTROL TRANSACTION SIZE Dynamically break execution context EventBus.TriggerContext.currentContext().setResumeCheckpoint(replayId);
  • 25. Let’s roll up our sleeves and get our hands on some Platform Events!
  • 26. Scenario: Mixed DML in Declarative Development As an administrator, John wants to use Salesforce to obtain and track approvals for user’s role change. When a request for a role change is approved, he wants the role to automatically be updated for the related user. Solve real challenges with Platform Events
  • 27. Scenario: Mixed DML in Apex Code As a developer, Jennifer was tasked to create code that, upon approval of a Role Change Request, will add the user to a public group with the same name as their new role, and remove them from a public group with their old role name. Admins and Developer All LOVE Platform Events
  • 28. Scenario: Chaining Multiple ASync processes As an Architect, Maggie was tasked with designing a solution to handle multiple large-volume transactions that have to occur when a role-change is completed: - Mass update all opportunities owned by the promoted user - Recalculate commission payments - Push opportunity owner updates to the company’s ERP * The business does not want the 2nd and 3rd tasks to be performed in sequence, but rather in parallel Challenge: Salesforce only allows chaining one job at the end of an async process
  • 29. Scenario: Chaining Multiple ASync processes Role Change Get Opportunities of Role Changed Users Get All User With Previous Role And Their Capacity Distribute Opportunities Based On Capacity Send Opps New Owners to Company’s ERP Recalculate Commissions
  • 30. A few more use-cases Platform Events Can Do Even More! ● Multi-threaded processing ● Control the execution context size (number of records) ● Web Service Callouts from Platform Events* ● Re-usability of execution in a separate context
  • 31. Trailmix: Getting Started With Platform Events http://bit.ly/StartWithPE Source Code: https://github.com/RoyGilad/Dreamforce-2019-Do- more-within-Salesforce-Governor-Limits-using-Platform-Events Documentation: Platform Events Developer Guide Do more within Salesforce Governor Limits using Platform Events Learn more about Platform Events
  • 33. Founder ARRNAV @roygilad linkedin.com/in/roygilad [email protected] Roy Gilad Founder and CEO Praxis LLC @ohgodohad linkedin.com/in/ohadidan [email protected] Ohad Idan We’d love to hear from you!
  • 34. Q & A