Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


{repository-workflow:com.comalatech.sample.publishing.01|category=general|chart=simplespacepubworkflow_450px.png|version=43000} {repository-description:name=Simple Space Publishing Workflow} {note}This workflow requires the [Comala Publishing Add-on|https://marketplace.atlassian.com/plugins/com.comalatech.publishing].{note} * Simple approvals workflow with two states: Draft and Published. * Staff edit pages, an approval is required to publish the page to the configured public space to become visible to all. {repository-description} {workflow-body}
Wiki Markup
Info

Importing workflows

Find out how to Import Workflows


Simple Space Publishing workflowrequires v4.3.0+
com.comalatech.workflow.repository.categories.label: Bundled|Document Management|General

-Image Added

This workflow requires the Comala Publishing App

A simple approvals workflow

  • two states: Draft and Published
  • staff edit pages, an approval is required to publish the page to the configured public space to become visible to all


Code Block
titleSimple Space Publishing Workflow Markup
collapsetrue
{workflow:name=Space Publishing Approval Workflow|key=com.comalatech.sample.publishing.01}
    {description}
        Simple approvals workflow with two states (Draft and Published). Staff edit pages, an approval is required to publish the page to the configured public space to become visible to all.

...

{description}
    {state:Draft|approved=Published|taskable=true}
        {approval:Review|assignable=true}
    {state}
    {state:Published|updated=Draft|hideselection=true}
    {state}
    {trigger:pagestatechanged|state=Published}
        {publish-page}
    {trigger}
    {trigger:newsstatechanged|state=Published}
        {publish-page}
    {trigger}

...


{workflow}

...