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.
All activity records have these fields:
| Name | Description |
|---|---|
| User ID | The unique identifier of the logged in user who made the change |
| Date | A 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:
| Change Type | Additional Fields |
|---|---|
| Deactivated | |
| Reactivated | |
| Created | |
| Role changed | old role new role |
| Change Type | Additional Fields |
|---|---|
| Approval of a certain type disabled | Approval type |
| Approval of a certain type enabled | Approval type |
| Deleted | |
| Created | |
| Exported | |
| Imported | |
| Renamed | Previous name New name |
| Restored | |
| User permission added | User Added ID Permission type |
| User permission changed | User Added ID Old Permission type New permission type |
| User added as approver of a certain type to an app | User Added ID Approval type |
| User removed as approver of a certain type to an app | User Removed ID Approval type |
| Change Type | Additional Fields |
|---|---|
| Version submitted for approval | |
| Approval submission cancelled | |
| Version published (all approvals made) | list of approvers and associated approval types |
| Approval Type accepted | approval type approver ID |
| Approval Type declined | approval type approver ID |
| Change Type | Additional Fields |
|---|---|
| Deleted | |
| Exported | |
| Imported | |
| Renamed | Previous name New name |
| Restored | |
| Created |
| Change Type | Additional Fields |
|---|---|
| Created |