Document Workflow (State Machine)
Draft, review, approve or reject a document.
What this template contains
- Source
- 10 lines
Make it your own.
title "Document workflow"
state Draft
state Review
state Approved final
state Rejected
initial Draft
transition Draft -> Review on "submit"
transition Review -> Approved on "approve"
transition Review -> Rejected on "reject"
transition Rejected -> Draft on "revise"