cardinal

Comments and history

Comments, the change log on each Record, and getting a deleted Record back.

Each saved Record's form ends with a timeline. It shows who did what, newest first.

What the timeline shows

EntryWritten by
CommentUsers. You can edit and delete your own
Changes, as Label: old → newEach save, on RecTypes with track_changes
Attachment, Attachment RemovedAttaching or removing a file
Assigned, Assignment CompletedAssignments and closed ToDos
WorkflowEach workflow action taken
Emails sent and receivedMail on the Record, with Reply and Reply all

Only the platform writes the event entries, and only a System Manager can delete them.

You see a Record's comments and changes only if you can read the Record. A change to a field above your permission level is left out.

Comments

Write in the comment box below the timeline. Type @ to mention a user, who gets a bell entry. Ctrl+Enter posts.

Comment text is cleaned of scripts and unsafe HTML before it is stored.

Turn on change tracking

Set track_changes: true in the RecType's YAML:

rectypes/project.yaml
name: Project
track_changes: true

Each save that changes something writes a Version Record in the same transaction. A save that changes nothing writes none.

Deleted Records

Deleting a Record copies it, with its child rows, into a Deleted Record in the same transaction. Only a System Manager can read Deleted Records, at /desk/deleted-record.

A System Manager restores one through the API:

curl -X POST https://erp.acme.com/api/rpc/core.deleted_record.restore \
  -H "Authorization: token $API_KEY:$API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"name": "<Deleted Record name>"}'

The Record comes back with its original owner and creation time. A cancelled Record comes back as a draft. The Deleted Record is then marked Restored, with the name the Record got.

The desk has no Restore button yet.

Who did what, site-wide

Login attempts, PDF downloads and exports have their own logs. See Monitoring.

On this page