-
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

Upload Data Through CSV File in Visualforce Page | Salesforce Developer Guide
You might have a requirement where you need to upload a csv file in your custom object. In this blog, we’ll see how to upload…

Know How to Integrate Smart Quotations with Salesforce
Of the many integrations that can be made by third parties into the salesforce platform, CPQ stands for ‘Configure, Price, Quote’ – in simple terms,…

Collections in Salesforce - All you Need to Know
There are basically 3 types of collections used in Apex i.e. List Set Map List List is a collection of ordered elements. This means, each…
Popular Salesforce Videos
Salesforce Integration with Heroku
You can integrate Heroku and the Salesforce Platform in several ways, and choosing among them comes down to understanding your requirements and the capabilities of…
How To Assign Leads in Salesforce | Overview of 3 Main Lead Routing Solutions
Salesforce offers several options on how to automatically assign incoming leads to a suitable sales manager. But what to choose: out-of-the-box features, external AppExchange app,…
Salesforce Customer 360 Audiences Enhancements
Salesforce Customer 360 is a tool that allows companies to connect Salesforce apps and create a unified customer ID to build a single view of…