-
Update Parent Record from a Salesforce trigger
I have been trying to come up with the pattern in which I need to handle the below scenario ( considering recursion ).
On Insertion of Child Record ( Object - B ) I need to update parent record ( object - A) as well as conditionally insert an object ( object - B again ).
Could anyone point me what is the best way to handle this kind of scenario?
** EDIT **
Sorry if it is confusing. Giving another shot 🙂
Initially Insert record for Object B ( consider of type Apple), after that update Object A and then based on some criteria create new records for Object B ( this time it might be Mango and Orange ) again after that need to update Object A.
Log In to reply.
Popular Salesforce Blogs
What is the benefit of integrating Marketing Cloud with Whatsapp?
Introduction In today's digitally connected world, effective marketing is all about meeting your audience where they are. WhatsApp, with its over two billion active users,…
Salesforce Spring ’20 Release Notes - Top Features
Salesforce Spring '20 Release have been made universally accessible on February 17, 2020. The Spring '20 discharge conveys extended advancements over the whole Customer 360…
An Introduction To Salesforce Flow Basics
The Power of Automation Over time, most companies set up a set of practices that can meet different business needs. These methods are usually unique…
Popular Salesforce Videos
COVID-19 Impact on The Automotive Industry -Digitization With Salesforce Can be a Solution
Coronavirus is expected to create a physical contactless environment with an increased thrust on online assessment and buying of vehicles. This is a huge shift…
Security in Salesforce | Learn About the Security Levels in Salesforce
This "???????? ?? ??????????" video by Edureka will help you understand the different levels of security in Salesforce. It will also talk about some of…
Mission Mangal | Build a Mars Communication Uplink | Salesforce Tutorials | Mini Project
In this video, you will learn to create a Mars Communication Uplink using Salesforce. We will create a communication system from Rovers on Mars. Interesting…