You need to sign in to do that
Don't have an account?
Greer Zimmerman 5
create records on related object from the creation of another
Hi all,
I am trying to get Salesforce to create multiple records through flows. I have Object A, which is related to multiple Object B records through a lookup field. Every time a new Object A is created I need to create an Object C in a master-detail relationship with every Object B record related to Object A.
I am trying to use flows. I currently have one that does a fast look up of all of the Object Bs, then leads to a loop, then leads to a record create. But it isn't working! Please help!
I am trying to get Salesforce to create multiple records through flows. I have Object A, which is related to multiple Object B records through a lookup field. Every time a new Object A is created I need to create an Object C in a master-detail relationship with every Object B record related to Object A.
I am trying to use flows. I currently have one that does a fast look up of all of the Object Bs, then leads to a loop, then leads to a record create. But it isn't working! Please help!
To automatically create a new custom object record with information from another custom object record.Please refer the below link for reference.
- https://success.salesforce.com/answers?id=9063A000000pGbOQAU
- https://success.salesforce.com/answers?id=90630000000DQ0JAAW
Hope it helps.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
I'm sorry if those two links do in fact answer my question but both of them point me to Process Builder and I can't figure out how that would work!
In process builder, I cannot set Object B's ID as a field value for Object C when I am starting with Object A as the starting object. That is why I was trying to use flow to search for ALL Object Bs with the Master-detail reationship with Object D, and then create an Object C record related to those records.
Any other guidance?
Greer