Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{repository-workflow:
Wiki Markup
Excerpt
hiddentrue
namerefinedpageimage
Image Added
Info

Importing workflows

Find out how to Import Workflows

Editor and staff approval workflow

requires v3.1.9+

com.comalatech.

...

workflow.

...

repository.

...

categories.label:General|Bundled

-Image Added

  • Staff edit a page

  • When the page is ready, the content is submitted for approval in the Ready state by a user defined using Reviewers

  • Content is not published until the Editor-in-Chief gives approval in a second approval state, Reviewed

  • Reviewers and Editor-in-Chief are workflow parameters (value references). Their values are defined in the space admin workflow configuration



Editor and staff approval workflow Markup
Code Block
{workflow:name=Editor and staff approval workflow|key=com.comalatech.sample.approvals.02}
    {description}
        AnThe ApprovalsPublishing Workflow withhas four stages (_Draft_, _Ready_, _Reviewed_ and _Published_). Staff edit pages, and mark as Ready when a Manager should review. Oncestates.
Ready: Edited by Staff. Reviewed: Reviewed by Managers, pages are held for the Editor-in-Chief. OncePublished: approvedApproved by Editor-in-Chief, content& changesviewable arepublicly.
Published,You andcan viewable by non-participants.define the Reviewer and Editor-in-Chief are defined in the Space Admin Workflow Configuration. 
    {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@|assignable=true}
    {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|hideselection=true}
    {state}
    {trigger:pageapproved|approval=Review}
        {send-email:user=@Editor in Chief@|subject=Page ready for final approval}
        The page @page@@pagetitle@ has been approved by [~@user@]@user@ and is waiting for your final approval.
        {pageactivity}
        {send-email}
    {trigger}
{workflow}

    {workflow-version}
{repository-workflow}

This workflow includes workflow parameters. When applying a space workflow

  • a parameter reference value may only be available for use by the workflow after a workflow process, such as a transition, occurs. For example, the initial state should not include the use of the parameter reference value for a due date or pre-assigned reviewers for approvals to avoid blocking your workflow. Alternatively, you can choose to Initialize states when applying a space workflow

  • the parameter value is retrieved from the space parameters dashboard on first application of a workflow to a page or blog post. This value may be different to the value used in the workflow template