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
Ankita Kumari 68Ankita Kumari 68 

Customization on Contact History table

Hi Everyone,

I need to flag rollback field row in contact history table. 
Req- As a user if I update last name now and then I'll try to update first Name within 24 hrs. System should block me to update First Name at the same time it should roll back my last name update done in previous change.
I have written an apex class and SOQL on contact history table to identify changes done within 24 hrs and rollback last name change.
Now I want to flag the rollbacked records here (last name rollback) in the history table for reporting purpose. 
Is there any way we can flag rollback records using any customization.

Thanks  In Advance