-
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
Trigger Assignment Rules on Update or Upsert using Data Loader | Salesforce Tutorials
Hello guys, In this article, we will do some work around Assignment Rules. As you are aware Assignment Rule can be trigger on Insert actions.…
What is Clone and Deep Clone in Apex?
Clone is the predefined method in Apex which is used to clone the record just by one functional line of code. Deep Clone is the…
What is Salesforce Lightning Web Component and How to Use it?
What is Salesforce Lightning Web Component? Salesforce Lightning Web Components (LWC) is a programming framework that is designed to build single-page applications and is based…
Popular Salesforce Videos
Geocoding and Reverse Geocoding in Salesforce | Google Maps APIs
In this video, you will learn to use Geocoding and Reverse Geocoding service in your Salesforce Org. Geocoding is the process of taking input text,…
AMPscript Case Functions - Salesforce Marketing Cloud Functions in 5 minutes
Cameron Robert steps through how to use the Upper, Lower and Proper Case Functions in AMPscript. Cameron also takes a closer look at the ProperCase…
Different tools use to code in APEX | APEX Basics | Salesforce Development Course
Are you aware of the tools that are used for writing codes in APEX? Here are the different tools that you can use to write…