Skip to main content

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.

The Custom Fields & Configuration section, with the Ontology designer, Relations, Normalisers and Graph review tiles at the end

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​

The Relations screen: the search box and category buttons at the top, Normalisers and Add relation on the right, and the list of relations with their code, labels, ends, category, flags, derivation and Used by
ColumnWhat it shows
CodeThe 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 / inverseThe label read from the From end, and below it the inverse label read from the To end.
From and ToWhat the relation can start and end at: a document (page icon), a custom field row (rows icon), or both.
CategoryThe group the relation belongs to.
FlagsSymmetric, Transitive, Analysts (the audience is Analysts only) and Inactive, when they apply.
DerivationFor a relation the graph engine works out, the rule it uses, for example row_owner_document.
Used byThe 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.

The Edit relation panel for EXTRACTED_FROM: a note that the graph engine computes it and it cannot be edited here, with every field greyed out and only Cancel at the bottom

Relation settings​

Select a relation in the list, or Add relation, to open its settings on the right.

The Add relation panel filled in: code DOCS_REL_EN, label and inverse label, From Document, To Row, category reference, Decision meaning References, impact weight 0.4 and a forward Influence flows
SettingWhat 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.
LabelHow the relation reads from the From end, for example Raises risk. Required.
Inverse labelHow the relation reads from the To end, for example Risk raised in.
From and ToWhether 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.
CategoryGroups the relation in the list. Choose an existing category or type a new one.
ColourThe colour of the relation on the maps. Left empty, the relation gets a colour automatically.
SymmetricThe relation reads the same from both ends, like Same as.
TransitiveThe relation carries through a chain, like Supersedes.
ActiveClear it to deactivate the relation (see Deactivate or delete a relation).
AudienceAll 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 meaningHow 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 flowsHow 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 byFor 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.

The Edit relation panel for ADDRESSED_TO: the code greyed out with the note In use: the code can no longer change, and Used by listing four template fields

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.

The ⋮ menu of a relation open on the list, with Edit, Deactivate and Delete

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.

Delete ADDRESSED_TO? refused: the message lists the template fields and the links that use the relation, and the buttons are Cancel and Deactivate instead

How to add a relation​

Example: Adding a relation

StepWhat to do
1Open New > Custom Fields & Configuration > Relations.
2Select Add relation.
3Type the Code, the Label and the Inverse label.
4Under From and To, keep Document, Row or both at each end.
5Choose or type a Category.
6Set any other settings the relation needs (see Relation settings).
7Select 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

StepWhat to do
1Open New > Custom Fields & Configuration > Relations.
2Type the relation's code or a template's name in Search code, label or template.
3Under Used by, select +n more to see every field that uses the relation.
4Select a field. Its template opens in the template builder.

How to change a relation​

StepWhat to do
1Open New > Custom Fields & Configuration > Relations.
2Select the relation, or select ⋮ > Edit.
3Change the settings.
4Select Save.

How to deactivate a relation​

StepWhat to do
1Open New > Custom Fields & Configuration > Relations.
2Select ⋮ > Deactivate on the relation.

To turn it back on, select ⋮ > Activate.

How to delete a relation​

StepWhat to do
1Open New > Custom Fields & Configuration > Relations.
2Select ⋮ > Delete on the relation.
3Select Delete to confirm. If the relation is used, select Deactivate instead or Cancel.

Troubleshooting​

IssueDetail
The Relations tile is not shownThe tile needs the View Graph Relation Types permission.
The code cannot be changedA field or template uses the relation. Add a new relation with the new code instead.
Delete is refusedThe relation is used by a field, a template or saved links. Deactivate it instead.
A relation cannot be chosen on a fieldIt is inactive, or the graph engine works it out. Activate it, or choose another relation.
A relation has no Edit or DeleteThe graph engine works it out, so it can only be viewed.