Platform Events

Overcome Salesforce Governor Limits Using Platform Events

ApexHours 2020, Platform Events

Mixed DML’S Operations, Too Many SOQL Queries, Too Many DML Statements, CPU Timeout: Salesforce’s Governor limits are there for a reason but even when you employ best practices you may still exceed them. A good developer will look at all tools available on the platform and find the best approach to solving the problem they are facing.

Join us to add the newest tool to your developer toolbelt: using Platform Events to change the rules of the game and process more, faster, within governor limits.

Agenda:

  1. What are Governor Limits
  2. Synchronous vs. Asynchronous processing
  3. Introducing Platform Events
  4. Platform Events processing
  5. Platform Events Considerations
  6. Example 1: Getting around Mixed DML limit
  7. Example 2: Changing multiple Apex Async Processes
  8. Other use cases
  9. Additional Resources

Platform Events

Like a superpower you didn’t even know you had

SObjects__cPlatform_Events__e
DMLs (Insert, Update, Delete)Publish (Insert only)
SOQLStreaming API
TriggersSubscribers
Parallel context executionGuaranteed order of execution

Platform Events – Execution Timing

Platform Events – Execution Timing

Account Trigger

Platform Event

Platform Event Trigger

Here is recording of session

Date     : Saturday, MAR 07, 2020 10:00 AM EST (8:30 PM IST )
Where : Online
Speaker : Ohad Idan
RSVP   : https://trailblazercommunitygroups.com/e/mjnyzj/

Please note that we have limit of 300 attendees that can join the online sessions. However, recording will be posted on our YouTube channel. Make sure to subscribe our YouTube channel to get notification for video upload.

Bookmarks our “Session in 2020” page for all upcoming and old sessions of 2020. Let us know which topic you want learn next in ApexHours.

If you are new in Salesforce. Please check our free Salesforce Admin and Salesforce Developer training.

Thanks,
Salesforce Apex Hours


3,108 total views, 14 views today

Leave a Reply