Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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}
    {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}
    {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=@assignee@|subject=@task@ has been assigned to you}
        Task @task@ on @page@ has been assigned to you by [~@user@].
        {quote}@comment@{quote}
        {pageactivity}
        {send-email}
    {trigger}
    {trigger:pageassigned}
        {send-email:user=@assignee@|subject=A document has been assigned to you}
        The document @page@ has been assigned to you by [~@user@].
        {quote}@comment@{quote}
        {pageactivity}
        {send-email}
    {trigger}
{workflow}
    {workflow-body}
{repository-workflow}

...