Execute Transation Group on both time interval and if value changes

Is it possible to configure a transation group to store tag values to database on timer and when the value changes.I need the value to be recorded every hour and if the value changes.Is this possible?