On click of save button i am saving some data. But previous value of the data is being saved.
I tried to log it in the workflow before saving to database, and it is correctly logging the current state but in the database it saves the previous state.
Its very frustating.