This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Importing workflows

Find out how to Import Workflows

Editor and staff approval workflowrequires v3.1.9+
com.comalatech.workflow.repository.categories.label:General|Bundled

-

  • Staff edit a page
  • When the page is ready, the content is submitted for approval in the Ready state by a Reviewer
  • Content is not published until the Editor-in-Chief gives approval in a second approval state, Reviewed
  • Reviewer 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
{workflow:name=Editor and staff approval workflow|key=com.comalatech.sample.approvals.02}
    {description}
        The Publishing Workflow has four states.
Ready: Edited by Staff. Reviewed: Reviewed by Managers. Published: Approved by Editor-in-Chief & viewable publicly.
You can define the Reviewer and Editor-in-Chief 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}
        <at:var at:name="user" />
    {workflowparameter}
    {state:Draft|submit=Ready}
    {state}
    {state:Ready|approved=Reviewed|rejected=Draft}
        {approval:Review|group=<at:var at:name="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 <at:var at:name="page" /> has been approved by [~<at:var at:name="user" />] and is waiting for your final approval.
        {pageactivity}
        {send-email}
    {trigger}
{workflow}


  • No labels