-
How can we achieve conditional rollback on saving multiple hierarchy records ?
Hi All,
i am in a scenerio i wanted to save records based on condition like we have 5 objects
on failure of obj5 records upto 4 get saved,
similarly on failure of obj4 records upto 3 get saved,
and so on ,
but on failure of obj2, obj1 record will not get saved
thanks
Log In to reply.
Popular Salesforce Blogs
5 Best CRM Integrations with QuickBooks for SMBs 2022
It's crucial that your CRM and QuickBooks work together. Due to this, most CRMs on the marketplace have acted and offered a method to integrate…
Invoke Apex Class From JavaScript Button in Salesforce
Introduction In this blog, we will learn how to call an apex class from a custom button or the Javascript button from the object detail…
Test Classes In Apex Salesforce | The Developer Guide
Best Practices of Test Class in Salesforce @TestVisible - To access private member in Test Class Test.LoadData - Creating test data without code System.RunAs -…
Popular Salesforce Videos
Intro to Salesforce Macros
Users can run macros to complete repetitive tasks—selecting an email template, sending an email to a customer, updating the case status—all in a single click.…
MuleSoft Integration: GoToWebinar to Salesforce - Learn Salesforce Series
In this video, you will learn how to use MuleSoft integration platform to transfer attendees data from GoToWebinar to Salesforce- 1. Set up GoToWebinar account,…
What Is Loyalty Management in Salesforce? | Video Tutorial
In the past few years, we have come across terms such as loyalty programs and loyalty management. Let's understand the concept of loyalty management with…