Parsware
All articles

Model-driven apps

Show who created or changed a record

Every table keeps four stamps for you, Created On, Created By, Modified On and Modified By, plus an Owner. Put them in a view or on a form and people see names and dates, not ids, with nothing to set up.

An asset list in dark mode with Created On, Created By, Modified On and Modified By columns showing dates and Platform Administrator, next to the title "Who created or changed a record"

"Who added this?" and "when did it last change?" come up on every table sooner or later. In Parsware you don't create fields for them. Every table the platform manages keeps four system fields, filled in on every save:

  • Created On and Modified On: the date and time the record was created and last changed.
  • Created By and Modified By: the person who did it, shown by name.

There is also Owner: who the record belongs to, which decides who can see it.

You only decide where to show them. This article uses the Asset table in our own unmanaged solution; any table of yours works the same way. Every picture is the real product.

In a view

Open a view in the View Designer. The system fields sit at the end of Available fields, after your own. Drag the ones you want into View columns. We added Assigned To and all four stamps to the All Assets view:

The View Designer for All Assets: View columns Name, Assigned To, Created On, Created By, Modified On and Modified By, with the grid preview showing the same headings

Save, and open the list in the app:

The All Assets list: six assets, each with an Assigned To person, a Created On date, Created By Platform Administrator, and Modified On and Modified By; the ThinkPad X1 Carbon was modified two days after it was created

Created By and Modified By show the person's name, not an internal id. Like any date column, Created On and Modified On take a date format and sort with the column heading.

On a form

A small section at the bottom of the form is the usual place. In the Form Designer, press Add row, then Add section, call it Audit, and drag the four stamps in:

The Form Designer for the Information form: an Audit section holding Created On, Created By, Modified On and Modified By, with its Title set to Audit in the properties

On the record they are read-only. The platform sets them, so there's nothing to type and nothing anybody can backdate:

The ThinkPad X1 Carbon asset: Owner Platform Administrator and State Active in the header, General and Assignment sections, and an Audit section showing Created On 2026/09/26 19:38, Created By Platform Administrator, Modified On 2026/09/28 12:27 and Modified By Platform Administrator

Only one person has edited our assets, so both By fields say the same name. When somebody else saves the record, Modified By becomes their name and Modified On moves on; Created By never changes. For the full list of who changed which field, and from what, turn on auditing for the table.

The system fields by their logical names

Views, filters, queries and scripts refer to the stamps by logical name, like any other field:

Display name Logical name Type Set
Created On created_at_utc Date and time, in UTC Once, when the record is created
Modified On updated_at_utc Date and time, in UTC On every save
Created By created_by Lookup to User Once, when the record is created
Modified By modified_by Lookup to User On every save
Owner owner_id Lookup to User or Team Starts as the creator; changed by assignment

The _utc in the date names is a reminder of how they are stored: as a moment in time, in UTC, rather than as a local clock reading. A form or a view formats that moment for the person reading it, in the calendar they use.

In a view's document, they are columns like any other:

{
  "logicalName": "con_asset_all",
  "displayName": "All Assets",
  "entity": "con_asset",
  "columns": ["con_name", "con_assignedto", "created_at_utc", "created_by", "updated_at_utc", "modified_by"],
  "sorts": [{ "field": "updated_at_utc", "descending": true }]
}

Sorted by Modified On, newest first, a view like this becomes what changed recently, often the first thing a team lead opens in the morning.

Views that use the stamps

The four stamps make some useful views with no extra fields at all:

View Filter Sort
Recently changed none Modified On, newest first
Added this month Created On is at least the 1st of the month Created On, newest first
Mine Created By equals you Modified On, newest first
Not touched since spring Modified On is less than 1 April Modified On, oldest first

The last one is a quiet favourite. A list of records nobody has opened for months is often a list of records nobody needs, or of work that slipped. Filters take a fixed date, so a view like this is kept up to date by changing its date now and then. Filters with And and Or shows how to build each.

Filling in your own who field

Checked By is a person somebody chooses. Often, though, the person is simply whoever did this step: whoever ticked Checked, whoever approved. Rather than trusting people to pick their own name, let the server fill it in. A plugin step that runs before an update can set it:

// When Checked changes to Yes, record who checked it.
if (getValue('con_checked') == true && getPreValue('con_checked') != true) {
  setValue('con_checkedby', userId());
}

getPreValue reads the field as it was before this save, so the step fills Checked By only at the moment Checked is ticked, not on every later edit. userId() is the person saving, the same person Modified By records. Make Checked By read-only on the form, and nobody can claim somebody else checked it. Plugin steps: before and after a save shows how to register a step like this.

For an approval that passes between people, a process does this for you: each decision is recorded with who made it and when. Processes that actually run explains.

Stamps, audit, or both?

The stamps and the audit log answer different questions.

Question Stamps Audit log
Who created this, and when? Yes Yes, if auditing was on then
Who changed it last? Yes Yes
What did they change? No Yes, field by field, old and new
Who changed it before that? No Yes, every change in order
Was it a person, a process or an integration? The person behind it The person and the mechanism
Can it be shown in a view or on a form? Yes It is read on the Audit Logs screen

So the stamps are for everyday reading, on every table, at no cost. The audit log is for the tables where you need the whole story.

Who counts as the modifier

Modified By is a lookup to a user: the person the save was made for. A person on a form is themselves, and a server rule that changes the record during somebody's save is part of their save, so the stamp still names them. When a change comes from something other than a person at a screen, such as a process step or an integration, the stamp alone can't tell you what made it. That is what the audit log is for: every entry records the actor and, when it was automated, the mechanism, so a change made overnight can be traced to the process or the app registration behind it.

Questions that come up

Can I hide the stamps? They are always on the table, but nothing shows them unless a view or form places them. Leave them out where nobody needs them.

Can an import set Created On to the date in the old system? No. The platform sets the stamps itself, so an imported record is created now. Keep the old system's date in a field of its own, such as Originally created, and the import fills that.

Why does a new person appear in a User lookup only after they have done something? Users belong to the organisation, not to one environment. An environment learns about a person the first time they create or change something there, which is also when Created By first needs their name.

Owner

Owner is the fifth system field. It starts as the person who created the record, and it can be a person or a team. Ownership decides who can see the record at all, once security roles limit people to their own records or their unit's.

Here it sits in the form's header, beside State. Header fields are read-only unless you say otherwise, because the header is for reading. To let people hand a record on, place Owner in a section of the form as well: they choose User or Team, pick a name, and the change takes effect when they save. Whoever can edit the record can give it away; the platform checks that the new owner exists and is a person or a team.

Your own "who" fields

The stamps record who did something. For a person you choose yourself, such as Checked By or Approved By, add an ordinary Lookup field and set its Related table to User:

The New field drawer: Display name Checked By, Logical name con_checkedby, Data type Lookup, Related table User

The User table fills itself in. When somebody first creates or changes a record in an environment, the platform adds them from their sign-in details. So Created By resolves to a name with no setup, and a person who has never touched this environment doesn't appear in a User lookup until they do.

Next: what happens when you save a table.