specs/models/M_ACTIVITY

Activity Record

Activity records are generated by certain types of changes to a model in the system. They are immutable, and can be retrieved in a reverse chronological timeline to give an audit log of actions.

Fields

All activity records have these fields:

NameDescription
User IDThe unique identifier of the logged in user who made the change
DateA timestamp of when the action occured

The fields saved on the activity record also have access to additional fields based on the model and change type. Every record also contains a reference to the ID of that model. Activity record types in the system:

Activity Records for Users:

Change TypeAdditional Fields
Deactivated
Reactivated
Created
Role changedold role
new role

Activity Records for Apps:

Change TypeAdditional Fields
Approval of a certain type disabledApproval type
Approval of a certain type enabledApproval type
Deleted
Created
Exported
Imported
RenamedPrevious name
New name
Restored
User permission addedUser Added ID
Permission type
User permission changedUser Added ID
Old Permission type
New permission type
User added as approver of a certain type to an appUser Added ID
Approval type
User removed as approver of a certain type to an appUser Removed ID
Approval type

Activity Records for App Versions:

Change TypeAdditional Fields
Version submitted for approval
Approval submission cancelled
Version published (all approvals made)list of approvers and associated approval types
Approval Type acceptedapproval type
approver ID
Approval Type declinedapproval type
approver ID

Activity Records for App Groups:

Change TypeAdditional Fields
Deleted
Exported
Imported
RenamedPrevious name
New name
Restored
Created

Activity Records for Dashboards:

Change TypeAdditional Fields
Created

Tests

IDName
QA-T126News Feed - Activity History and Activity Records