Relations
Relations is the list of relation types that custom fields can use to link records and documents, such as Raises risk or Addressed to. Each relation has a code, a label for each direction, and settings that say what it can join and how Docwize Atlas reads it. Users open it to add a relation before choosing it on a field in the template builder, to see which fields use a relation, or to retire a relation that is no longer wanted.
A relation is chosen on a field in the template builder, not here. Relations only holds the list, and the Used by column shows which fields and templates have chosen each one.
Access via New > Custom Fields & Configuration > Relations.
Who configures this
Users with the View Graph Relation Types permission. The Ontology designer and Normalisers tiles beside it need View Graph Ontology and View Graph Normalisers. See Permissions for how to assign it.
The relation list
| Column | What it shows |
|---|---|
| Code | The relation's code, in the colour it is drawn in on the maps. A lock icon marks a relation the graph engine works out for itself (see below). |
| Label / inverse | The label read from the From end, and below it the inverse label read from the To end. |
| From and To | What the relation can start and end at: a document (page icon), a custom field row (rows icon), or both. |
| Category | The group the relation belongs to. |
| Flags | Symmetric, Transitive, Analysts (the audience is Analysts only) and Inactive, when they apply. |
| Derivation | For a relation the graph engine works out, the rule it uses, for example row_owner_document. |
| Used by | The template and field that use the relation, as Template / Field. The first two are shown; +n more lists the rest. Not used means no field or template uses it. |
| ⋮ | Edit, Deactivate (or Activate) and Delete. A relation the graph engine works out has only View. |
The relation names and categories are part of each company's own setup, so they appear as they were entered, in any language.
Search and filter the list
Type in Search code, label or template to find relations by their code, labels or category, or by the name of a template or field that uses them. Select a category button to show only that category; the number on each button is how many relations it holds. Select All to show every category again. When nothing matches, select Clear Filter to clear the search and the category.
The Normalisers button opens the Normalisers screen, which has its own tile beside Relations.
Relations the graph engine works out
Some relations are not chosen on a field. The graph engine works them out for itself, for example the link from a custom field row to the document it was extracted from (Extracted from), or between two documents with the same file (Same file as). These relations show a lock icon, their rule under Derivation, and Derived by the engine under Used by. They cannot be chosen on a field, and they can be viewed but not changed or deleted.
Relation settings
Select a relation in the list, or Add relation, to open its settings on the right.
| Setting | What it does |
|---|---|
| Code (fixed once used) | The relation's code: 2 to 40 capital letters, digits or underscores, starting with a letter. Letters are made capitals and spaces become underscores as they are typed. Once a field or template uses the relation, the code can no longer change. |
| Label | How the relation reads from the From end, for example Raises risk. Required. |
| Inverse label | How the relation reads from the To end, for example Risk raised in. |
| From and To | Whether each end is a Document, a Row (a custom field row), or both. |
| To template (optional) | The template the relation points to, when it always points to the same one. Any template leaves it open. |
| Category | Groups the relation in the list. Choose an existing category or type a new one. |
| Colour | The colour of the relation on the maps. Left empty, the relation gets a colour automatically. |
| Symmetric | The relation reads the same from both ends, like Same as. |
| Transitive | The relation carries through a chain, like Supersedes. |
| Active | Clear it to deactivate the relation (see Deactivate or delete a relation). |
| Audience | All users, or Analysts only: the relation is then hidden in the Executive view of related records and of Where it leads. |
| External code (an external ontology) | The relation's code in an outside ontology, when the company maps its relations to one. |
| Decision meaning | How Docwize Atlas reads the relation: Causes, Delays, Notifies, Owned by, Mitigates, References or Context only. Not decided leaves it unset. |
| Impact weight (0–1) and Influence flows | How strongly, and in which direction, an effect passes along the relation in impact analysis: Forward (as the label reads), Reverse (as the inverse label reads) or Both ways. The weight is above 0 and at most 1. Set both, or leave both empty: impact analysis follows only relations that have both. |
| Used by | For a saved relation, every field and template that uses it. Select one to open it in the template builder. |
Save stays unavailable until the code and the label are filled in, and while the code or the impact settings are not valid.
Relations in use
When a field or template uses a relation, its code is fixed: the Code box is greyed out and reads In use: the code can no longer change. Its labels and other settings can still be changed. Used by in its settings lists every field and template that uses it; select one to open that template in the template builder.
Deactivate or delete a relation
Deactivate keeps a relation and the links already made with it, but the template builder no longer offers it when a field's relation is chosen. A field that already uses it keeps it. The relation shows Inactive under Flags, and Activate in its ⋮ menu turns it back on.
Delete removes a relation from the list for good. A relation that is used cannot be deleted: when it is used by a field or template, or by links already saved, Delete is refused with a message that lists what uses it, and Deactivate instead is offered.
How to add a relation
Example: Adding a relation
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Relations. |
| 2 | Select Add relation. |
| 3 | Type the Code, the Label and the Inverse label. |
| 4 | Under From and To, keep Document, Row or both at each end. |
| 5 | Choose or type a Category. |
| 6 | Set any other settings the relation needs (see Relation settings). |
| 7 | Select Save. The relation is added to the list with Not used, and can now be chosen on a field in the template builder. |
How to find where a relation is used
Example: Finding where a relation is used and opening the field in the builder
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Relations. |
| 2 | Type the relation's code or a template's name in Search code, label or template. |
| 3 | Under Used by, select +n more to see every field that uses the relation. |
| 4 | Select a field. Its template opens in the template builder. |
How to change a relation
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Relations. |
| 2 | Select the relation, or select ⋮ > Edit. |
| 3 | Change the settings. |
| 4 | Select Save. |
How to deactivate a relation
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Relations. |
| 2 | Select ⋮ > Deactivate on the relation. |
To turn it back on, select ⋮ > Activate.
How to delete a relation
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Relations. |
| 2 | Select ⋮ > Delete on the relation. |
| 3 | Select Delete to confirm. If the relation is used, select Deactivate instead or Cancel. |
Troubleshooting
| Issue | Detail |
|---|---|
| The Relations tile is not shown | The tile needs the View Graph Relation Types permission. |
| The code cannot be changed | A field or template uses the relation. Add a new relation with the new code instead. |
| Delete is refused | The relation is used by a field, a template or saved links. Deactivate it instead. |
| A relation cannot be chosen on a field | It is inactive, or the graph engine works it out. Activate it, or choose another relation. |
| A relation has no Edit or Delete | The graph engine works it out, so it can only be viewed. |