function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shivani Thakur 32Shivani Thakur 32 

Write a Trigger on Account which will create the clone record.

ShirishaShirisha (Salesforce Developers) 
Hi Shivani,

Greetings!

Please refer the code mentioned in the below document to clone the record:

https://developer.salesforce.com/forums/?id=9062I000000gA9lQAE

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri