I tried the solution suggested to remove the timestamp format conversion error by using \"UpdateAttribute\" processor i.e. ConvertJSONtoSQL-> UpdateAttribute--> PutSQL
I found the answer to my question
sql.args.n.value -> ${sql.args.n.value:format("yyyy-MM-dd HH:mm:ss.SSS")}.
sql.args.n.value -> ${sql.args.n.value:format("yyyy-MM-dd HH:mm:ss.SSS")}