Excerpt | ||||
---|---|---|---|---|
| ||||
Info |
---|
Importing workflows Find out how to Import Workflows |
Sample Document Management workflow | requires v3.0.2+ |
com.comalatech.workflow.repository.categories.label: Document Management|Technical Documentation|Sample | |
- |
...
A sample document management workflow to illustrate how different approvals may be required depending on the labels on a page |
...
Sample Document Management Workflow
...
Code Block |
---|
{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} |
Sample Document Management Process
-
the actual approvers can be configured using workflow parameters
Change Management Director
Document Management Director
Document Manager
the user values of these workflow parameters
...
can be edited in the
...
space tools Parameter dashboard. The space tools Parameter dashboard values for these parameters will be retrieved when the workflow is added on the creation of a new document in the space
all documents must be reviewed by the users added as a value for Document Manager but
if the
...
document has the
change_management
label, then the document also requires the approval from users who are added as a value for Change Management Director
...
if the
...
document has the
implementation
label, then the document also requires the approval from users who are added as a value for Implementation Director
...