...
Wiki Markup |
---|
{repository-workflow:comalatech.techdoc|categories=techdoc|chart=techdoc.png}
{repository-description:name=Technical Documentation Workflow}
* We use this workflow for the [Ad hoc Workflows documentation|http://www.adhocworkflows.com/display/AWP].
* New pages are hidden from the public, when ready, they are submitted for review and if approved, they get published.
{repository-description}
{workflow-body}
{workflow:name=Technical Documentation Workflow}
{description}
{description}
{workflowparameter:Document Editors|description=Only members of this users group can view pending documents|type=group}
confluence-users
{workflowparameter}
{workflowparameter:Pending Expiration|description=If a page stays in 'For review' for this period of time, then the state will be changed to 'Expired'|type=duration}
P10D
{workflowparameter}
{state:Pending|submit=For review|taskable=true}
{state}
{state:For review|approved=Published|rejected=Pending|expired=Expired|taskable=true|hideselection=true|duedate=@Pending Expiration@}
{approval:Publish|assignable=true}
{state}
{state:Published|final=true|updated=For review}
{state}
{state:On hold|submit=For review|hidefrompath=true}
{state}
{state:Expired|hidefrompath=true}
{state}
{trigger:statechanged|state=Pending|initial=true}
{add-restriction:type=View|group=@Document Editors@}
{trigger}
{trigger:statechanged|state=Published}
{remove-restriction:type=View}
{trigger}
{trigger:statechanged|state=On hold}
{add-restriction:type=View|group=@Document Editors@}
{trigger}
{trigger:taskassigned}
{send-email:user=<at:var at:name="assignee" />|subject=<at:var at:name="task" /> has been assigned to you}
Task <at:var at:name="task" /> on <at:var at:name="page" /> has been assigned to you by [~<at:var at:name="user" />].
{quote}<at:var at:name="comment" />{quote}
{pageactivity}
{send-email}
{trigger}
{workflow}
{workflow-body}
{repository-workflow} |
...