Issue updating request data from post.pre_process


Hi There,

I am using windows version of DF.

I am unable to update resource from event. below here is my event and code within event. I can READ and VALIDATE the values but when I try to update the same value during post.pre_process, its not reflecting in db.

Event Name: mysql mysql._table.{table_name} mysql._table.{table_name}.post.pre_process


event.request.payload.resource[0].salary = 90;

I have enabled both check boxes “Active” and “Allow script to modify request payload”. I am sure that Event is triggering because I can validate the data and throw errors.