{repository-workflow:dm.approver|categories=sample,docmanagement,techdoc|chart=sampledoc.png}
{repository-description:name=Sample Document Management workflow}
* A sample document management workflow to illustrate how different approvals may be required depending on labels on a page.
{repository-description}
{workflow-body}
{workflow:name=Sample Document Management workflow}
{description}
Simple quality management workflow incorporating page labels to identify the page approver.
{description}
{workflowparameter:Change Management Director|type=user}
<at:var at:name="user" />
{workflowparameter}
{workflowparameter:Implementation Director|type=user}
<at:var at:name="user" />
{workflowparameter}
{workflowparameter:Document Manager|type=user}
<at:var at:name="user" />
{workflowparameter}
{state:Draft|submit=For Review}
{state}
{state:For Review|approved=In QM Review|rejected=Draft}
{approval:Change Management|label=change_management|user=@Change Management Director@}
{approval:Implementation|label=implementation|user=@Implementation Director@}
{state}
{state:In QM Review|approved=Approved|rejected=For Review}
{approval:QM Review}
{state}
{state:Approved|final=true}
{state}
{workflow}
{workflow-body}
{repository-workflow} |