Troubleshooting: Auto-Numbering Sequence Issues
Problem
Automatic document numbering configured for a Document Type is not working as expected:
- Numbers are not being assigned (field remains blank or editable).
- The sequence is incorrect (wrong prefix, wrong starting number, incorrect padding).
- There are unexpected gaps in the number sequence.
- Duplicate numbers are being assigned (very rare).
Common Causes
- Auto-Numbering Not Enabled: The auto-numbering feature is not turned on for the specific Document Type in Settings > Document Types > Edit > Settings.
- Incorrect Configuration: Errors in the configured Prefix, Starting Number, or Padding settings for the Document Type.
- Manual Number Entry: Users are manually entering numbers before the auto-numbering sequence assigns one (this shouldn't happen if auto-numbering is correctly enabled, as the field becomes read-only).
- Workflow Timing: The document might be progressing through a workflow where the status triggering number assignment isn't reached, or the number field is being overwritten by a later automation step. Auto-numbering typically applies on document creation or transition to a specific status.
- Database/Concurrency Issues (Very Rare): In extremely high-volume scenarios or during platform issues, there could theoretically be a race condition leading to gaps or duplicates, although the system is designed to prevent this.
- Configuration Not Saved: Changes made to the auto-numbering settings were not saved correctly.
Troubleshooting Steps
- Verify Auto-Numbering Configuration (Admin Task):
- Go to Settings > Document Types.
- Edit the relevant Document Type.
- Navigate to the Settings tab.
- Check the Auto Numbering section.
- Is the feature Enabled (toggle ON)?
- Are the Prefix, Starting Number, and Padding configured correctly?
- Check the Next Number preview. Does it look right?
- Save any necessary changes.
- Check Field Editability: When creating a new document of this type, is the document number field read-only (greyed out)?
- If Yes, auto-numbering is likely enabled correctly at the form level. Check workflow timing (Step 3).
- If No, auto-numbering is not correctly enabled or applied for this Document Type. Revisit Step 1.
- Review Workflow/Sentences (Admin Task):
- Examine the Sentences triggered by document creation or status changes for this Document Type.
- Does the workflow ensure the document reaches the state where numbering should apply?
- Is any Sentence action potentially clearing or overwriting the
document_number
field after it should have been assigned?
- Check for Manual Entries: Review the Audit History of affected documents. Is there any record of users manually editing the document number field?
- Test with New Document: Create a brand new document of the affected type. Does it receive the correct auto-number upon creation/submission? This helps differentiate between configuration issues and problems with existing documents.
- Investigate Gaps: Occasional gaps can occur if a transaction fails validation after a number is reserved but before it's fully saved (though the system tries to avoid this). Consistent, large gaps warrant investigation by support.
Need Help?
If auto-numbering issues persist after checking the configuration and workflow, contact Zudello support. Provide:
- The name of the Document Type affected.
- Screenshots of the Auto Numbering configuration.
- Document UUIDs of examples showing the incorrect numbering.
- Details of the expected vs. actual number sequence.