[SOLVED] How sync_historical event work with beforeSave?

Hello.
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.

Hi,
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.

2 Likes

Yes, you’r right. I have used a job and it work now. Thank you.