During a before commit you can use the java-action in the communitycommons module “ObjectHasChanged” and/or “memberHasChanged”
Also you might have a usecase for AppStore app “Confirm Button”