-
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
The Impact of Salesforce Certification on Your Salesforce Career
Introduction In today's fast-paced and highly competitive job market, having a Salesforce certification can make all the difference in your Salesforce career. Whether you're already…
Check-List For A Move-In Ready Salesforce Deployment
Imagine you are apartment hunting and you enter a house. It is beautifully set-up. All the beds have new linens. Pillows properly dusted and covered.…
Popular Salesforce Videos
Introducing KaseSync: An Innovative Community-CRM Connector! | Salesforce
KaseSync, is an innovative community-CRM connector designed to create seamless bi-directional data sync between platforms. Learn how exactly it improved self-service and boosts community engagement.
Salesforce Career Path 2022 | How to Make Career in Salesforce
In addition, Salesforce Developer is one of the 10 best jobs on Indeed's Best Jobs. As businesses embrace the future of mobile, big data, IoT,…
How to Create a File Location in Salesforce Marketing Cloud
Cameron Robert shows how to use PuttyGen to generate and create an SSH Key for SFTP usage in Salesforce Marketing Cloud, then how to create…