-
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 Ultimate Guide To Salesforce Data Recovery And Backup
Of course Salesforce manages with the available services and provides different backup and recovery features in case you face data losses or need to return…
Top 10 Highlights of Dreamforce 2019
Hi, all Salesforce lovers! I know that every one of you would have wanted to be part of the Dreamforce ’19, the event of all…
Salesforce Kanban Board - All You Need to Know
The Kanban load-up was initially evolved in Japan ('Kanban' deciphers as 'announcement') by Toyota to work within the nick of time (JIT) assembling and conveyance. …
Popular Salesforce Videos
How To Filter Salesforce Reports via URL Parameters - Learn Salesforce Series By Algoworks
How To Filter Salesforce Reports via URL Parameters In this video, the following points will be covered - 1. Introduction Get a brief introduction to…
Salesforce Consumer Goods Cloud Demo
Salesforce Consumer Goods Cloud is an intelligent, seamless B2B CRM solution specifically designed for the consumer goods industry. Watch this video to learn more.
Salesforce To Salesforce Integration Using REST API
Salesforce to Salesforce integration using REST API. In this video, you will learn how two Salesforce Orgs can be integrated using REST API. This tutorial…