retrieve the record from the database and compare values
Select correct Entity
[id = $ObjectVariableName]
$ObjectVariableName/Attribute = $RetrieveObjectFromDataBase/Attribute
You could use Community Commons in the Marketplace. This has the memberHasChanged action in the ORM section where you pass in an object and the name of the attribute you want to see has changed. It returns a boolean that’s true if it’s changed since the last commit.
Hope this helps.
A retrieve action from DB should work, with that xpath : [id = $myObject]
Then you just have to compare every fields of $myObject with the object returned by your action.