-
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
Setting up Salesforce Marketing Cloud: The Complete Guide
Salesforce Marketing Cloud is an incredibly powerful marketing and branding tool utilized by companies to effectively interact with their customers. Its out-of-the-box features like journey…
How Can Integrating Your Business Processes with Salesforce Deliver Great User Experience
There have been plenty of celebrities that have used this famous saying to try to get preferential treatment at a restaurant, to get VIP treatment…
Turn Your Mission into a ‘Connected’ Nonprofit with Salesforce
Technological disruption is pervading every industry, and the Non-profit sector is no longer a different kettle of fish. For non-profits, where collaboration, communication, community building…
Popular Salesforce Videos
CPQ B2B Commerce Cloud Connector | Salesforce Tutorial
In these difficult economic times, businesses are looking for ways to improve efficiency and reduce the cost of doing business. More than ever, efficiency and…
How Do You Create Sandboxes in a Professional Edition in Salesforce?
Eric Stafford asks, “How do you create Sandboxes in a Professional Edition?” and gets an expert answer and demo from LeeAnne Rimel, Architect, Admin Evangelism…
How to Connect Salesforce Billing Payment Gateways (COMPILATION)
In this compilation, we’ll show you what you need to know about using your preferred payment gateway with Salesforce Billing + CPQ - like how…