Play by Play is a series in which top technologists work through a problem in real-time unrehearsed, and unscripted. In this course, Play by Play: Taming the Salesforce Order of Execution, Daniel Stange and Don Robins discuss the Order of Execution - the sequence of operations that are happening when a record is created or updated in Salesforce. It’s essential for Salesforce Administrators, Developers, and Architects to get a deep understanding of the Order of Execution in order to build and maintain scalable and robust applications on the Salesforce platform.
Daniel Stange is a 20x certified Salesforce System Architect and Application Architect (and 449 badges Trailhead Quadruple Ranger) working as Technical Architect for DIA die.interaktiven (www.die-interaktiven.de), a Salesforce implementation partner in Germany.
He's a co-leader of the Frankfurt / Germany Salesforce User Group and speaker at Dreamforce and global Dreamin' Salesforce community events. Daniel is working on the Salesforce platform since 2014, with a strong focus on core technologies of the Salesforce Lightning platform, DevOps, APIs, platform integration, Einstein Analytics and the Einstein platform.
Don Robins is a well known Salesforce MVP, instructor, author, and speaker.
A custom business application developer for more decades than he cares to
admit, he focuses on Salesforce technical instruction and knowledge
Course Overview Welcome to this Salesforce Play by Play with Pluralsight. Salesforce Play by Play is an interactive series where we sit down with Salesforce experts such as MVPs, consultants, developers, and architects to discuss common challenges faced every day by Salesforce customers. In this course, we challenge Daniel Stange, technical architect with DIA die.interaktiven in Germany to help us understand the Salesforce save order of execution, the issues that can arise when developers and admins are not aware of the many related complexities, and some strategies for troubleshooting and debugging them. First, Daniel shows some ways to monitor execution behavior in an org and reviews exactly what the save order of execution is. He walks us through a visualization model of the potential associated logical processing, the sequence in which execution occurs, and points out some of the more critical execution hotspots to be aware of. Next, he explores declarative logic reevaluation in workflow, Process Builder, and flow, and identifies related complexities with both rollup summary fields and criteria-based sharing rules. He reviews the potential impact of all on programmatic logic in Apex classes and triggers and the associated limits to be aware of. Along the way, he takes us on a deep dive, dissecting the differences between Apex transactions and database transactions, clarifies the difference between system and custom validation, and explores the challenges of trigger reentrancy along with logging limitations and Salesforce limits in general. By the time we're done, you'll have gained a solid understanding of exactly what goes on behind the curtain when processing records in the Salesforce database and how you can better design your declarative and programmatic logic to help ensure data integrity and robust processing within your org. So whether you're a Salesforce developer, admin, or architect, please join us for Taming the Salesforce Order of Execution. We hope you enjoy it.