ParcelDraft Workflow¶
Use ParcelDraft workflow for all ordinary parcel changes. Official Parcel versions are read-only in normal operations.
Roles and actions¶
Editor: create draft, update draft inDRAFT, submit, cancel before approval.Reviewer: review-accept (SUBMITTED -> REVIEWED), reject fromSUBMITTED, cancel fromSUBMITTEDorREVIEWED.Approver: final-approve (REVIEWED -> APPROVED), reject fromREVIEWED, cancel fromREVIEWED.Viewer: read-only access.
Actions depend on both dataset role and current draft state.
Standard flow¶
- Create a draft from the current official parcel version (or as a new chain).
- Edit draft geometry/attributes while state is
DRAFT. - Submit draft (
DRAFT -> SUBMITTED). - Reviewer accepts (
SUBMITTED -> REVIEWED) or rejects. - Approver final-approves (
REVIEWED -> APPROVED) or rejects. - Final approval creates a new official Parcel version.
State model¶
- Active states:
DRAFT,SUBMITTED,REVIEWED - Terminal states:
APPROVED,REJECTED,CANCELLED - No transitions are allowed from terminal states.
Important rules¶
- Only one active draft is allowed per
(dataset, version chain). - Rejection requires a reason.
- Approved/rejected/cancelled drafts are not editable.
- Final approval fails if the draft source version is not the current official version anymore.
History and audit¶
For each draft you can view:
- draft metadata (
created_by,submitted_by,reviewed_by,approved_by, etc.) - ordered workflow events with per-draft sequence numbers
- linked resulting official version after approval
This supports full reconstruction of who did what and when.