ok, not sure how to make the reference attribute happen. Currently I have a rule like:
If Staff.LastName WAS CHANGED AND NOT(Staff IS NEW ) Then
CREATE ChangeLog WITH ChangeLog.Type='Modify',ChangeLog.ObjectNumber=Staff.UidNumber,ChangeLog.Message='LastName '+OLD_VALUE(Staff.LastName)+' changed to '+Staff.LastName
How would I add to this rule to insert the new ChangeLog into a reference attribute?