Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform

You're reading from   Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform Implementing OmniStudio best practices for achieving maximum performance

Arrow left icon
Product type Paperback
Published in Apr 2024
Publisher Packt
ISBN-13 9781835468470
Length 278 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Dmitri Khanine Dmitri Khanine
Author Profile Icon Dmitri Khanine
Dmitri Khanine
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:The Platform Overview FREE CHAPTER
2. Chapter 1: Understanding the Vlocity OmniStudio Platform 3. Chapter 2: A Sample Application 4. Part 2: Getting to Know the Tools
5. Chapter 3: Evaluating the Performance of an OmniStudio Implementation 6. Chapter 4: An Introduction to Load Testing 7. Chapter 5: Tracking Code Changes and Deployment 8. Part 3: Best Practices for Improving Performance
9. Chapter 6: Options for Async Execution 10. Chapter 7: Understanding Caching 11. Chapter 8: Non-Selective Queries and Data Skew 12. Chapter 9: Improving the Performance of the Service Layer 13. Chapter 10: Improving the Performance of the Presentation Layer 14. Chapter 11: DataRaptor Formula Performance Considerations 15. Chapter 12: OmniStudio Performance Anti-Patterns 16. Index 17. Other Books You May Enjoy

Integration Procedure running after an error

This dangerous Integration Procedure anti-pattern relates to the lack of error handling. Let’s see what may happen when we neglect to check on the outcome of a step that is not guaranteed to always be completed successfully.

The following Integration Procedure has three steps: the first step creates a Quote, and the second and third steps process this Quote and its line items (see Figure 12.6):

Figure 12.6 – An overview of a sample Integration Procedure for creating Quotes

Figure 12.6 – An overview of a sample Integration Procedure for creating Quotes

If we don’t check whether the Quote was successfully created, steps two and three will still be invoked after step one. They will continue processing, possibly making updates, as if their data comes from a correctly created Quote. This may result in additional errors, produce invalid entries, or corrupt the data in our systems.

For example, if the Quote in our sample Integration Procedure shown in Figure 12.6 was...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime