I try to sync_historical event, and beforeSave I want to add new fields with my custom value. It work when event trigger but not work on the first time history sync. Please help.
I think that you will have to make a separate job that processes historical events. That is because beforeSave trigger will not be applied to historical events from what I know.
Yes, you’r right. I have used a job and it work now. Thank you.