When you create a numbering rule, Dive assigns document numbers to your SOPs. Numbers are built by arranging "Fixed text," "Date," and "Sequence number" parts (e.g., SOP-PK-0001, CK-2026-001). Rules are applied per folder. When an SOP without a number is published, its number is assigned automatically. When an SOP is revised, it keeps the number of the previous version.
This feature is available on the Enterprise plan. The Document number field that you enter by hand can be used on any plan.
● Screen: The "Document number" section of Authoring rules
What is a numbering rule?
A numbering rule defines which number format is assigned to SOPs in which folders. You create it in the sidebar under [Dictionary / Templates] → [Authoring rules] tab, in the "Document number" section.
Numbers are assigned in the following 3 cases.
- On publish (automatic): In folders where a rule with [Assign automatically on publish] applies, the number is assigned when an SOP with an empty Document number is published. Numbers are never skipped for SOPs that were discarded as drafts.
- [Get number] on an SOP: When you need a number before publishing (for example, when work is run on paper, or when other documents refer to the SOP by its number), get the number first from the Document number field in the draft.
- [Get number only] in the Document number ledger: Get numbers for documents that are not in Dive, such as paper work standard documents or forms, from the same sequence as SOPs.
A revised SOP keeps the number of the previous version and is not given a new number. A rule never rewrites the number of an SOP that already has one. When assigning a number, the rule skips numbers already used under the same rule (numbers entered by hand, numbers imported, and numbers taken for paper documents) and assigns the next number.
What you need
- Permissions: Only Owners and Team Administrators can create or change numbering rules. Other users can only view them.
- Plan: Enterprise plan
- Location: Sidebar → [Dictionary / Templates] → [Authoring rules] tab → "Document number" section. Set this up from a PC browser.
Create a rule
- Open [Dictionary / Templates] in the sidebar, then open the "Document number" section in the [Authoring rules] tab.
- Click [Add rule].
- In [Name], enter a name that is easy to tell apart (for example: Nagoya Plant Work Standard).
- In [Format], arrange the parts of the number. Add parts with [Add part], then select a type: Fixed text, Date, or Sequence number. Always use exactly one Sequence number.
- Select [Sequence restart].
- In [Folders to apply to], click [Add folder] to select the folders this rule will assign numbers to.
- In [Assignment method], [Assign automatically on publish] is checked from the start. If you want the rule to assign numbers only when [Get number] is clicked on an SOP, clear this checkbox.
- Check the number format in [Preview], then click [Save].
● Screen: Adding and editing a numbering rule
Format parts
| Part | What to configure | Example |
| Fixed text | Characters to include in the number (e.g., leading letters that show the site or document type) | KA- |
| Date | Choose from Year (4 digits), Year (last 2 digits), Year and month (6 digits), or Year and month (4 digits). If you choose only the year, you can also set Fiscal year starts in. | 2026, 26, 202611, 2611 |
| Sequence number | Minimum digits and Starting number. If the number has fewer digits than the minimum, zeros are added in front. | 0001 |
Build numbers so that they fit within 60 characters. Also check that they still fit when the Sequence number gets more digits.
Sequence restart
- Do not restart: The sequence number keeps counting up.
- Restart from the starting number each year (fiscal year): When the year (fiscal year) changes, the number returns to the starting number. Include the year in the format.
- Restart from the starting number each month: When the month changes, the number returns to the starting number. Include the year and month in the format.
Folders to apply to
A rule applies to the folder you select and the folders below it. If you apply a different rule to a folder below, that rule is used from that folder downward (the rule of the nearest folder is used).
If you check [Make this the team default (used for SOPs that do not match any folder)], SOPs in folders with no rule applied will also be numbered with this rule. Only one rule can be the default. If you want to start numbering folder by folder, do not set a default. If you set one, SOPs in folders that have not started using numbering yet will also be numbered.
Applying two or more rules to one folder
For example, to use separate numbers for work standard documents and inspection checklists, you can apply two or more rules to the same folder. Only one rule assigns the number automatically on publish. If two or more rules are set to assign automatically, the rule higher in the Authoring rules list is used (change the order with the up and down buttons in the list). Numbers from the other rules are taken by selecting [Get number] on the SOP.
The Document number field on an SOP
In drafts in folders where a rule applies, the Document number field shows what will happen when the SOP is published.
- "Will be assigned automatically on publish using the rule 'Production Management Dept. Work Standard' (next: SOP-PK-0001)." : An automatic assignment rule applies.
- "On publish, the number of the previous version, SOP-PK-0012, will be carried over." : This is a revision draft.
- "Numbers in this folder are assigned with [Get number]." : No automatic assignment rule applies.
If you need a number before publishing, click [Get number] in the Document number field. The number is assigned right away and filled into the field. If two or more rules apply, select from the list of rule names and next numbers. [Get number] can be used by the drafter (on the edit screen) and by the approver of that draft (on the approval screen).
● Screen: Document number field on an SOP ([Get number] when two rules apply)
For SOPs in folders where no rule applies, enter the Document number by hand as before. You can limit who can enter or change it with the "Document number" setting in Owner Functions (Choosing who can enter or change document numbers (Owner Functions)).
Numbers when revising, copying, or restoring
- Revision: The number of the previous version is carried over. In folders where a rule applies, even if you clear the number in a revision draft, it returns to the previous version's number when published.
- Copy: If a rule applies to the destination folder, the number of the copied SOP is cleared. A new number is assigned when it is published.
- Restore a previous version: Even if you restore the content, the Document number stays the current number. To change the number, correct it in the Document number field.
- Moving between folders: The number does not change.
Edit or delete a rule
Use [Edit] on a rule to change its name, format, folders to apply to, and assignment method. Changing a rule does not change numbers that have already been assigned.
To delete a rule you no longer need, click the trash can icon on its row in the list. After a rule is deleted, no more numbers are assigned with it, and the numbers already assigned remain in the Document number ledger as "Deleted rule". In folders where a parent folder's rule or the team default rule applies, numbers are assigned with that rule from now on. If you recreate a rule with the same format in the same folder, numbering continues from the previous number.
When you change plans
After you change from the Enterprise plan, the numbers already assigned remain. Rules also remain but stop working (no automatic assignment, and [Get number] does not appear). The Document number field goes back to a field you enter by hand. You can still view the Document number ledger and use Export to Excel.
Frequently asked questions
● What happens to the numbers of SOPs that already exist?
They stay as they are. For published SOPs without a number, you can assign numbers all at once with [Number SOPs without a number] in the Document number ledger, without revising them.
● Can I move from the Excel ledger I use now?
Yes. If you import the ledger first and then turn on automatic assignment in the rule, numbering continues from your current numbers. For the steps, see Managing numbers with the Document number ledger (paper document numbers and moving from your current ledger), section "Moving from your current Excel ledger."
● I want a different number format for each site.
Create a rule for each site folder and apply each rule to its own folder. Numbers with the same text are not blocked between sites. (Only a notification appears when there are SOPs with the same Document number.)
● I assigned the wrong number.
You can fix the number of a published SOP with [Fix number] in the Document number ledger, without revising it (Owners and Team Administrators).
Related
Choosing who can enter or change document numbers (Owner Functions)
Setting the document number, items used, and standard time on an SOP
Summary of what to follow when creating an SOP (Authoring rules)