Skip to content

Read the steps and the metadata behind every save

See every step a save runs through, switch one off when support asks, and read every detail of a table, a field and its links in one place. In this guide you read Codossier Office's built-in steps and the Matter table, click by click.

14 steps·9 min read·Customization

Switch a built-in step off or on, and read every detail of a field, without touching code.

What it is

  • Builder → Plugins/Messages lists every built-in step with the message it runs on, its stage, its table and its order, and a switch to turn it off or on. Below them, every custom action with its own switch.
  • A step's stage says when it runs: PreValidation (checks first), PreOperation (shapes the record), PostOperation (follows up in the same save) or PostOperationAsync (in the background, after the save).
  • Builder → Metadata Management is a tree of every table. Each unfolds into its columns, views, forms, lookups, choices, business rules and plugin scripts.
  • A field's page holds its full details: names in both languages, type and limits, Help text, Field Context, search and audit switches, and where it is used.
  • A lookup's page says what a delete does to the records that point to it, and whether access travels along the link.

Good to know

  • A switch on Plugins/Messages takes effect the moment you click it, for everyone, with no Save. Switch a built-in step off only when Codossier support asks, and switch it back on afterwards.
  • There is no Run As control for a built-in step on these pages. Your own workflows, jobs and buttons carry their Run As on their own screens.
  • Deleting a field, a choice or a table drops its data. Every delete in Metadata Management first shows what it takes with it.

Before you start

  • Both pages are for administrators, in the Builder menu: Plugins/Messages and Metadata Management.
  • We read Codossier Office's own built-in steps and the Matter table. Nothing in this guide is switched or saved: on Plugins/Messages a switch writes the moment you click it, with no Save to undo it, so we only mark the switches.
  • Changing a table's fields and choices is covered step by step in Tables and fields; this guide is about reading the whole picture and the few controls that only these pages hold.

Part 1. Plugins/Messages: the steps every save runs through

Every save, delete or operation in Codossier Office runs through a fixed line of steps. Some check (may this person do it? is the value valid?), some fill in (the record number, the defaults), some follow up (the audit, a workflow that starts on a change). This page lists every step Codossier Office registered, and lets an administrator switch one off.

1Open Builder → Plugins/Messages

The page has two lists. Plugins (handlers) is every built-in step, counted (here, 1461 registrations), grouped by the step's name in cards. Messages (custom actions) follows below (step 6).

Each row of a card is one registration: the step runs on that message (Create, Update, Delete, Associate and the others), at that stage and in that order. A red load-bearing badge marks the steps the rest of Codossier Office relies on: here, the one that checks every person's access before anything else happens.

Type in the search box to find a step by its name, its message or its table. Reload reads the list again.

Read the steps and the metadata behind every save, step 1: Open Builder → Plugins/Messages (Find by step, message or table; Every registered step; Codossier Office relies on it; One registration: a message)
1Find by step, message or table2Every registered step3Codossier Office relies on it4One registration: a message

2Read a step: its message, stage, table and order

Here we searched Legal Hold: the steps that look after records under legal hold. Each registration reads left to right:

  • The message: Create, Update, Delete, or an operation of its own (LegalHoldApply).
  • The stage: PreValidation checks first, before anything is changed (here, the legal hold guards); PreOperation shapes the record just before it is written; PostOperation follows up right after, in the same save (here, the legal hold snapshot); PostOperationAsync, marked async, runs in the background once the save is done.
  • The table: global means every table; a table's name means only that one.
  • The order: within a stage, lower numbers run first.

On the right, enabled and its switch.

Read the steps and the metadata behind every save, step 2: Read a step: its message, stage, table and order (The stage: checks first; Every table, order 77; Follows up in the same save; On; a click switches it off)
1The stage: checks first2Every table, order 773Follows up in the same save4On; a click switches it off

3Why you rarely switch a step off

A switch writes the moment you click it, and the step drops out of every save at once, for everyone, until someone switches it back on. There is no Save and no warning for an ordinary step.

Take WorkflowRecordTriggerHandler, which runs in the background after every Create, Update and Delete. Switch off its Update row and no workflow that starts on an update would start, anywhere, and nothing would say so; switch off all three rows and no record-triggered workflow starts at all. So keep the switch for a narrow case, such as pausing a step that misbehaves while it is being fixed. Write down what you switched off and switch it back on afterwards.

A load-bearing step (access checks, the record's own columns, the audit) asks you to confirm before it goes off, because the rest of Codossier Office relies on it. Leave those on.

Read the steps and the metadata behind every save, step 3: Why you rarely switch a step off (Starts record-triggered workflows; In the background, after the save; Off: update workflows stop)
1Starts record-triggered workflows2In the background, after the save3Off: update workflows stop

4Who a step runs as

A built-in step runs as the person whose save or operation started it, so their access applies. This page has no Run As control. A step that must work with other access (a few of Codossier Office's own background follow-ups) has a Run As set by Codossier Office; you read it on the step's own record (next step). A step that checks the person (a PreValidation step, like the one marked here) and a step on every table's ordinary saves never take a Run As.

For the things you build yourself, the Run As is on their own screens: a workflow's Run As on its trigger card, a scheduled job's on the job, a ribbon button's Runs as on the button. A custom action runs as the person who calls it unless an administrator gives it a Run As.

Read the steps and the metadata behind every save, step 4: Who a step runs as (Checks the person: no Run As; Runs as whoever saves)
1Checks the person: no Run As2Runs as whoever saves

5A step's Run As, on its record

Every step is also a record of the Plugin Steps table. Type Plugin in Search tables on the left, open Plugin Steps, and open the step from the list (search it by its name). Its form shows what the Plugins/Messages page shows, and two things more:

  • Stage as a number (100 PreValidation, 200 PreOperation, 300 PostOperation, 400 PostOperationAsync), Execution Order, Is Enabled and Is Async; Message Name and Entity (the table; empty means every table).
  • Run As: who the step runs as. Empty, the person who started the save. Here, a background step that looks at each new version of a file runs as the System User.
  • Is Managed By Code: Codossier Office registered this step and keeps it in step with its code.

Read it here and leave the form unsaved. To set or clear a step's Run As, an administrator uses Codossier Office's API, which refuses one where it cannot apply (a PreValidation step, or a step on every table's ordinary saves). Switch a step on or off on Plugins/Messages, where a load-bearing step asks you to confirm.

Read the steps and the metadata behind every save, step 5: A step's Run As, on its record (Who the step runs as; 400: after the save; Registered by Codossier Office; Not pressed)
1Who the step runs as2400: after the save3Registered by Codossier Office4Not pressed

6Messages (custom actions): switch an action off or on

The second list holds the office's custom actions and Codossier Office's own code-made operations of the same kind, each by its name with its display name, counted. Its switch works like a step's: off, the action answers not found to every caller (a button, a workflow, a script) until it is switched on again.

Here, the four Bulk actions, which re-process every record of the office at once, are disabled; the ones below them are enabled. Switching an action off is the safe way to retire it: nothing is deleted, and it comes back with one click.

Read the steps and the metadata behind every save, step 6: Messages (custom actions): switch an action off or on (Every custom action; Off: answers not found; An enabled action)
1Every custom action2Off: answers not found3An enabled action

Part 2. Metadata Management: the tree of tables, fields, choices and links

7Open Builder → Metadata Management and find a table

The Tables panel lists every table, grouped: Custom tables (your office's own), Records, Add-on tables, Activities, Intersections, Platform tables and Knowledge & RAG. Type in Find a table to narrow it; here, Matter.

Click + beside a table to unfold its sections: Columns (its fields), Views, Forms (read-only here, marked Parked), Lookups (its links to other tables), Choices, Business rules and Plugin scripts. Click the table's name for its own page.

New table starts a new one: see Tables and fields.

Read the steps and the metadata behind every save, step 7: Open Builder → Metadata Management and find a table (Find a table; The table's own page; Its sections; A new table)
1Find a table2The table's own page3Its sections4A new table

8The table's page: its counts and its names

Click Matter. The page names its kind (Regular Entity) and its record numbers (MAT-000001), and counts what it holds: Columns, Views, Forms, Lookups out and in, and whether Coin reads it. Each section is also in the tree on the left.

Below: Names (display name and plural, in both languages), Record numbers (how many digits), Email (which column holds the table's email address) and Behaviour.

Read the steps and the metadata behind every save, step 8: The table's page: its counts and its names (Its record numbers; How many columns; Links out and in; What people see)
1Its record numbers2How many columns3Links out and in4What people see

9Columns: every field, its schema name and type

Open Columns. Each row is a field: its Display name, its Schema name (the name the database, the API and scripts use), its Type (lookup, string, optionset, decimal, json and the others) and whether it is Required. Find a column narrows the list. Click a row for the field's full details.

Read the steps and the metadata behind every save, step 9: Columns: every field, its schema name and type (Find a field; Open its details; Schema names; Its type)
1Find a field2Open its details3Schema names4Its type

10A field's full details

The field's page, in cards:

  • Essentials: the display name in both languages, Required, the Help text and the Field Context (next step).
  • What it holds: the Schema name and Type, locked once the field exists (a padlock), then the type's own limits: here, the Maximum length and a Default value for a new record.
  • Search and storage: Indexed (faster filters and sorts), Searchable (found by the quick search and the global search), Audited (every change kept in the record's history).
  • Used in: the forms and views that place it, and anything that reads it. Check it before you change the field.
  • Danger zone: deleting the field drops it with every value in it.
Read the steps and the metadata behind every save, step 10: A field's full details (Names, help, context; Locked name and type; Index, search, audit; Where it is used)
1Names, help, context2Locked name and type3Index, search, audit4Where it is used

11Help text and Field Context

Two texts help people fill a field in:

  • Help text: shown when someone points at the field on a form. Say what goes in it.
  • Field Context: shown under the field's input on every form, all the time. Use it for what people must know before they fill it in. Plain text, or basic HTML (a link, bold, a line break, a short list), up to 1000 characters. The Preview below the box shows it as a form draws it. A form script can still change or hide it on one form.

This example is a link on the Conflict table, From negotiation. Change either text and save the field to put it on every form at once.

Read the steps and the metadata behind every save, step 11: Help text and Field Context (On pointing at the field; Always under the input; As a form shows it)
1On pointing at the field2Always under the input3As a form shows it

12Lookups: how the table links to others, both ways

Open Lookups. Two lists:

  • Looks up: the links this table holds (many to one). Each Matter points to one Account, one Jurisdiction, one Lead.
  • Looked up by: the links on other tables that point here (one to many): a matter's court appearances, dossier entries, file attachments and invoices.

For each, When the one side is deleted (what happens to the records pointing at it) and Shares access (whether someone on one record also reaches the other). Click a row to change them. Show the platform's own lookups adds Created By, Modified By and Owner.

Read the steps and the metadata behind every save, step 12: Lookups: how the table links to others, both ways (What a delete does; Access along the link; Matter points to it; It points to Matter)
1What a delete does2Access along the link3Matter points to it4It points to Matter

13A link's details: delete behaviour and access

Click a lookup. A drawing shows which way it points and how many (many Conflicts, one Negotiation). Then:

  • When a Negotiation is deleted: Set Null (the Conflicts stay, without it), Restrict Delete (it cannot be deleted while Conflicts point to it), Cascade Delete (they are deleted too) or Cascade Deactivate (they are deactivated with it). Pick what a person expects: a matter's documents usually stay; a draft's lines usually go with it.
  • Access along the link: Direction and Who it carries decide whether being on one record lets you reach the other. None here: they are shared separately.
  • Lookup view: which list a person picks from.
Read the steps and the metadata behind every save, step 13: A link's details: delete behaviour and access (Which way it points; What a delete does; Access along the link)
1Which way it points2What a delete does3Access along the link

14Choices: a choice list and its values

Open Choices and click one. Matter Status is the table's status list: each Value (the number stored), its Label in both languages, which one is the Default for a new record, and the State it belongs to (Active or Inactive). For a status list Codossier Office keeps the values themselves; only the labels change here. An ordinary choice list also takes new values here.

Business rules and Plugin scripts under a table list what runs on its records; they are written on their own pages: Business rules, Plugin scripts.

Read the steps and the metadata behind every save, step 14: Choices: a choice list and its values (A value's label; The second language; For a new record; Its state)
1A value's label2The second language3For a new record4Its state

What next