I have an AfterSave
function that updates something else based on the previous value of the object that was just saved. Simply knowing that the object has changed with object.existed()
is not enough.
Is there any way to get the previous value of an object's property without implementing a costly workaround and increasing the number of API calls?
Is it even possible to get the previous value of an object in the AfterSave
function?
When I call object.previous("value")
, I get an undefined value.