How to read event (insert/update/delete) in script property (sync editor)

Hi all,

I am syncing data in Application table which has the mandatory column "Version". I want to insert 1 on the insert event and want to increment that number with each update. How do I read the event in the script property in sync editor?

Kindly help.

Thanks,

Namrata