-
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
How Our Favorite Sites and Tools Use Machine Learning | Salesforce Guide
As companies collect more and more data about their customers, an increased amount of duplicate information starts appearing in the data as well, causing a…
Why Salesforce Is good For Business - Top Reasons
Salesforce is an application advancement stage, fundamentally famous for its Customer Relationship Management (CRM) programming for different administrations like advertising and client assistance. The CRM…
How to Import Multiple Objects Data in a Single SFDX Command | Salesforce Guide
1. Document Objective The purpose of this document is to import the data into multiple objects at the same time. 2. Integration Specifications Prerequisites: you…
Popular Salesforce Videos
Deep Dive into Salesforce Connected App
In this session, we will deep dive into Salesforce Connected app, its usage for Salesforce developers and admins, various options and configurations provided for Authentication…
How to Start a Process with Parameters on UiPath Robots from Salesforce Interface
How to start a process with parameters on UiPath Robots from the Salesforce interface. Watch this video and learn. Let us know in the comments…
Salesforce for Non Technicals | Salesforce for Non IT | Salesforce For Non Programmers
Wondering if Non-IT persons can learn Salesforce? Yes, watch this video and learn all you need to know. Do let us know in the comment…