+ Start a Discussion
Dileep KatariDileep Katari 

How to insert a record using after delete?

Account and AccountHistory are two custom objects. When account record is deleted, one record of accounthistory should be created.
Jakub MužíkJakub Mužík
Create an after delete trigger, and just insert an instance of AccountHistory object with whichever values copied from Account object.