Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{repository-workflow:com.comalatech.sample.approvals.02|categories=bundled,general|chart=editorstaff.png}
{repository-description:name=Editor and staff approval workflow}
* An Approvals Workflow with four stages: Draft, Ready, Reviewed and Published. 
* Staff edit a page, but it is not published until the Editor-in-Chief gives approval.
{repository-description}
    {workflow-body}
{workflow:name=Editor and staff approval workflow|key=com.comalatech.sample.approvals.02}
    {description}
* An Approvals Workflow with four stages: Draft, Ready, Reviewed and Published.
  {description}
    {workflowparameter:Reviewers|description=Reviewers group|type=group}
        confluence-users
    {workflowparameter}
    {workflowparameter:Editor in Chief|description=User able to give final approval|type=user}
        @user@
    {workflowparameter}
    {state:Draft|submit=Ready}
    {state}
    {state:Ready|approved=Reviewed|rejected=Draft}
        {approval:Review|group=@Reviewers@}
    {state}
    {state:Reviewed|approved=Published|rejected=Ready}
        {approval:Editor in Chief|final=true|user=@Editor in Chief@}
    {state}
    {state:Published|final=true|rejected=Reviewed|updated=Ready}
    {state}
    {trigger:pageapproved|approval=Review}
        {send-email:user=@Editor in Chief@|subject=Page ready for final approval}
        The page @page@ has been approved by [~@user@] and is waiting for your final approval.
        {pageactivity}
        {send-email}
    {trigger}
{workflow}

    {workflow-body}
{repository-workflow}

* Staff edit pages, and mark as _Ready_ for a Manager to review.
* Once reviewed, pages are sent to the Editor-in-Chief.
* Once approved by Editor-in-Chief, the page is published.
* Reviewer and Editor-in-Chief are defined in the Space Admin Workflow Configuration.