According to the user guide I understand we can get the oldValue of an attribute before commitListener as follows:
event.getChanges().getOldValue("approved")
How can we get any attribute value (current) of the same attribute before commit from Entity Listener?
I tried this but it still shows old value: event.getChanges() getValue("approved")