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
Pugalagiri JPugalagiri J 

Capture before field values in Change Event Trigger

Is it possible to capture before field values in changes event trigger ?
As per the documentation, change event triger is asynchronous and invokes after record insert. 
We have a sceanrio to capture previous fiels values in change event trigger.
VinayVinay (Salesforce Developers) 
As per my understanding,  ChangeEvent trigger only supports after insert statement.

Check below references for more details.

https://salesforce.stackexchange.com/questions/267759/trigger-oldmap-equivalent-in-changeevent
https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/cdc_trigger_considerations.htm

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,