SlideShare a Scribd company logo
Platform Events are for
Admins too!
An addition to your
#AwesomeAdmin toolkit
December 18 2019
Mark Budzyn
12x Certified
Manager Professional Services
www.linkedin.com/in/markbudzyn/
Trusted Salesforce Applications
and Consulting Services to
Enhance Your Service Experience
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.
Platform Events
Publish/Subscribe (pubsub) model
Subscriber
Subscriber
Publisher
Platform Events (and Streaming)
Dynamic/realtime applications
Publish/subscribe (one server; many clients)
Loosely coupled integrations
Benefits
Platform Event isn’t a regular sObject
Like a sObject
• Create in Setup
• Allow custom fields
• Can be inserted declaratively or through
code
• Triggers and process builders can ‘listen’
for new Platform Event records
• Control read and create permissions
Not like a sObject
• Platform Events are ‘definition’ entities
• A record is considered a ‘message’
• Messages are NOT viewable in the UI
• Allows certain types of custom fields
• Messages can’t be updated or deleted
• Messages are stored for 24 or 72 hours
• Messages can be used within Salesforce
as well as between Salesforce and
external apps
Defining a Platform Event
Allows custom fields
Messages can be inserted declaratively
Process builders can ‘listen’ for messages
Can be used within Salesforce
Loosely coupled
Why should it go into my #AwesomeAdmin toolkit?
Overview
sObject
Process
Builder
Platform
Event
Process
Builder
Platform
Event
Process
Builder
Platform
Event
Process
Builder
Message
Business use case
• When a user is deactivated transfer any Contacts they own to another user
Original design
• Process builder on User to fire flow to mass update Contacts owned by
deactivated user
Problem
• Throws Mixed DML Operation error – making changes to Setup and
non-Setup objects
Final design
• Two process builders: on User and on Platform Event; Platform Event fires the
flow
• Added bonus—Platform Event can be used to fire Lead and Opportunity
updates
Mixed DML Operation
Explore a Use Case
Let’s take a
quick look
Trailhead trailmix: https://sforce.co/2M3D5CR
- Trailheads
- Project
- Change Data Capture (another streaming tool)
Learn more!
WT19: Platform Events Are for Admins Too!

More Related Content

PDF
Essential Habits for New Admins
PDF
Learn to Leverage the Power of SOQL
PDF
Admin Best Practices: Reports & Dashboards
PDF
10 Easy Steps to Mastering Org Security
PDF
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
PDF
Essential Habits for Salesforce Admins: Security
PDF
Admin Best Practices: Introducing Einstein Recommendation Builder
PDF
WT19: Fantastic Formulas to Make You a Salesforce Superhero
Essential Habits for New Admins
Learn to Leverage the Power of SOQL
Admin Best Practices: Reports & Dashboards
10 Easy Steps to Mastering Org Security
WT19: 5 Game-Changing Flow Solutions to Level Up Your Org
Essential Habits for Salesforce Admins: Security
Admin Best Practices: Introducing Einstein Recommendation Builder
WT19: Fantastic Formulas to Make You a Salesforce Superhero

What's hot (20)

PDF
Admin trailhead Live: Leverage Einstein Search to Increase Productivity
PPTX
Admin Best Practices: Explore the Power of Data with Tableau
PDF
Essential Habits for New Admins - Dec 2019
PDF
Essential Habits for Salesforce Admins: Data Management
PDF
Admin Best Practices: 3 Steps to Seamless Deployments
PDF
Trailhead Live: Build an Awesome Team of Admins
PDF
Admin Best Practices: Remove Security Risk From Your Org with a User Audit
PDF
Programming Building Blocks for Admins
PDF
Best Practices and Tools for Backing Up Salesforce Data
PDF
Essential Habits for Salesforce Admins: Actionable Analytics
PDF
Become a Superstar Admin with Custom Metadata Types
PPTX
Top 5 Tips for Solo Admins
PDF
WT19: An Amazing Lightning Transition in Review
PDF
Trailhead Live: Essential Habits & Core Admin Responsibilities
PDF
WT19: Metadata Magic: Maintain Code, Without the Code!
PDF
New from Salesforce Labs
PPTX
Admin Webinar—An Admin's Guide to Profiles & Permissions
PPT
CIO Roundtable
PPT
Competitive Intelligence Best Practices
PPT
Next Generation Web Services
Admin trailhead Live: Leverage Einstein Search to Increase Productivity
Admin Best Practices: Explore the Power of Data with Tableau
Essential Habits for New Admins - Dec 2019
Essential Habits for Salesforce Admins: Data Management
Admin Best Practices: 3 Steps to Seamless Deployments
Trailhead Live: Build an Awesome Team of Admins
Admin Best Practices: Remove Security Risk From Your Org with a User Audit
Programming Building Blocks for Admins
Best Practices and Tools for Backing Up Salesforce Data
Essential Habits for Salesforce Admins: Actionable Analytics
Become a Superstar Admin with Custom Metadata Types
Top 5 Tips for Solo Admins
WT19: An Amazing Lightning Transition in Review
Trailhead Live: Essential Habits & Core Admin Responsibilities
WT19: Metadata Magic: Maintain Code, Without the Code!
New from Salesforce Labs
Admin Webinar—An Admin's Guide to Profiles & Permissions
CIO Roundtable
Competitive Intelligence Best Practices
Next Generation Web Services
Ad

Similar to WT19: Platform Events Are for Admins Too! (20)

PDF
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
PPTX
Stamford developer group Experience Cloud
PDF
Salesforce Spring '21 - Release Overview
PPTX
Become a rockstar admin
PDF
TrailheadX Presentation - 2020 Cluj
PPTX
July 2020 Chicago Nonprofit Group - Summer '20 Highlights
PDF
Delivering powerful integrations without code using out-of-the-box Salesforce...
PPTX
Manage and Release Changes Easily and Collaboratively with DevOps Center - Sa...
PPTX
Jax, FL Admin Group Presents: Winter '23 Release Highlights
PDF
TDX Global Gathering - Wellington UG
PDF
Dreamforce Global Gathering
PDF
Salesforce Learning Journey - Partner Guide to Credentials.pdf
PDF
Spring 21 Salesforce Release Highlights with Awesome Admin Marc Baizman Welli...
PDF
Alba Rivas - Building Slack Applications with Bolt.js.pdf
PPTX
Kitchener Developer Group's session on "All about events"
PPTX
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
PPTX
Jacksonville, FL Admin Group: Breadwinner Overview & Salesforce Winter '21 Re...
PPTX
Save Millions of Clicks! Easily migrate complex schemas from SQL to Salesforce.
PDF
The Many Hats Worn by a Salesforce Admin
PPTX
Jax, FL Admin Group Presents: Summer '21 Release Highlights
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Stamford developer group Experience Cloud
Salesforce Spring '21 - Release Overview
Become a rockstar admin
TrailheadX Presentation - 2020 Cluj
July 2020 Chicago Nonprofit Group - Summer '20 Highlights
Delivering powerful integrations without code using out-of-the-box Salesforce...
Manage and Release Changes Easily and Collaboratively with DevOps Center - Sa...
Jax, FL Admin Group Presents: Winter '23 Release Highlights
TDX Global Gathering - Wellington UG
Dreamforce Global Gathering
Salesforce Learning Journey - Partner Guide to Credentials.pdf
Spring 21 Salesforce Release Highlights with Awesome Admin Marc Baizman Welli...
Alba Rivas - Building Slack Applications with Bolt.js.pdf
Kitchener Developer Group's session on "All about events"
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Jacksonville, FL Admin Group: Breadwinner Overview & Salesforce Winter '21 Re...
Save Millions of Clicks! Easily migrate complex schemas from SQL to Salesforce.
The Many Hats Worn by a Salesforce Admin
Jax, FL Admin Group Presents: Summer '21 Release Highlights
Ad

More from Salesforce Admins (10)

PDF
Admin Best Practices: Dashboards for Every Admin
PDF
Admin Best Practices: Building Useful Formulas
PDF
Awesome Admins Automate: Integrate Flow with AI and Chatbots
PDF
#AwesomeAdmins Automate: Create Triggered Flows and Batch Jobs
PDF
Essential Habits for Salesforce Admins: User Management
PPTX
Essential Habits for New Admins
PDF
Build AI-Powered Predictions with Einstein Prediction Builder
PDF
Semper Salesforce: Become a Salesforce Military Champion
PDF
WT19: Lightning Layout Tricks
PPTX
WT19: Salesforce Tips, Tricks and Tools
Admin Best Practices: Dashboards for Every Admin
Admin Best Practices: Building Useful Formulas
Awesome Admins Automate: Integrate Flow with AI and Chatbots
#AwesomeAdmins Automate: Create Triggered Flows and Batch Jobs
Essential Habits for Salesforce Admins: User Management
Essential Habits for New Admins
Build AI-Powered Predictions with Einstein Prediction Builder
Semper Salesforce: Become a Salesforce Military Champion
WT19: Lightning Layout Tricks
WT19: Salesforce Tips, Tricks and Tools

Recently uploaded (20)

PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
PTS Company Brochure 2025 (1).pdf.......
How to Choose the Right IT Partner for Your Business in Malaysia
Softaken Excel to vCard Converter Software.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
wealthsignaloriginal-com-DS-text-... (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Reimagine Home Health with the Power of Agentic AI​
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Nekopoi APK 2025 free lastest update
Upgrade and Innovation Strategies for SAP ERP Customers
How Creative Agencies Leverage Project Management Software.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms I-SECS-1021-03

WT19: Platform Events Are for Admins Too!

  • 1. Platform Events are for Admins too! An addition to your #AwesomeAdmin toolkit December 18 2019
  • 2. Mark Budzyn 12x Certified Manager Professional Services www.linkedin.com/in/markbudzyn/ Trusted Salesforce Applications and Consulting Services to Enhance Your Service Experience
  • 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. Platform Events Publish/Subscribe (pubsub) model Subscriber Subscriber Publisher
  • 5. Platform Events (and Streaming) Dynamic/realtime applications Publish/subscribe (one server; many clients) Loosely coupled integrations Benefits
  • 6. Platform Event isn’t a regular sObject Like a sObject • Create in Setup • Allow custom fields • Can be inserted declaratively or through code • Triggers and process builders can ‘listen’ for new Platform Event records • Control read and create permissions Not like a sObject • Platform Events are ‘definition’ entities • A record is considered a ‘message’ • Messages are NOT viewable in the UI • Allows certain types of custom fields • Messages can’t be updated or deleted • Messages are stored for 24 or 72 hours • Messages can be used within Salesforce as well as between Salesforce and external apps Defining a Platform Event
  • 7. Allows custom fields Messages can be inserted declaratively Process builders can ‘listen’ for messages Can be used within Salesforce Loosely coupled Why should it go into my #AwesomeAdmin toolkit?
  • 9. Business use case • When a user is deactivated transfer any Contacts they own to another user Original design • Process builder on User to fire flow to mass update Contacts owned by deactivated user Problem • Throws Mixed DML Operation error – making changes to Setup and non-Setup objects Final design • Two process builders: on User and on Platform Event; Platform Event fires the flow • Added bonus—Platform Event can be used to fire Lead and Opportunity updates Mixed DML Operation Explore a Use Case Let’s take a quick look
  • 10. Trailhead trailmix: https://sforce.co/2M3D5CR - Trailheads - Project - Change Data Capture (another streaming tool) Learn more!