I know there is a java action that can do this but it requires the attribute to be entered as a string potentially throwing an error if the attribute is later renamed.
It would be ideal if we can get the original value in mendix without relying on java. I suggest a new mendix action called Get Original Value with the following dialog
No I mean original value, this is the value of the object before changes. It can be used for example to check if an attribute has been changed. The same can be achieved by retrieving the object from the DB but that is needless load on the db.
You mean default value?