Updated field not changing

ravigajananjosh
Mega Contributor

I am working on a project where I would be modifying a record of user defined table using rest api method PUT. But if I update a record with the same values the Updated field doesnt   show the time the record updated. The same holds true even if I update the record with the same.

1 ACCEPTED SOLUTION

Hi Chuck,



Your understanding is correct. So that means I need to create a separate field and update that field from Rest API. Do you have any other solution?


View solution in original post

6 REPLIES 6

Hi Ravi,



Yes, there are multiple methods to create an updated field. E.g. change a true to a false, and a false to a true, but that would require the initiating end to do two requests, one to get the current value, and a second to update with the new value.



If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you


rajneeshbaranwa
Giga Guru

Setforceupdate() should work in this case.