+ Start a Discussion

duplication of record along with related list by apex or processbuildr


I have a Custom object linked to 4 other custom objects (cust__1,cust__2,cust__3,cust__4)

I want to duplicate the record, similar to clone.
Record with its 4 objects related.
Is there a solution to do so, thank you for advise
Best Answer chosen by Sandrine
David Zhu 🔥David Zhu 🔥
There is no standard function for this. You may create a lightning action button to implement this.
Salesforce introduces "Clone with Related" button in Summer'20 release. But it only applies to standard object with limited related list.