Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{repository-workflow:com.comalatech.sample.approvals.01|categories=general,bundled|chart=simple.png}
{repository-description:name=Simple approval workflow}
* Simple approvals workflow with two states: Draft and Published.
* Staff edit pages, though a change to a page is not visible to non-team members until an editor approves it.
{repository-description}
    {workflow-body}
{workflow:name=Simple approval workflow|key=com.comalatech.sample.approvals.01}
    {description}
* Simple approvals workflow with two states (Draft and Published).
{description}
    {state:Draft|approved=Published}
        {approval:Approval}
    {state}
    {state:Published|final=true|rejected=Draft|updated=Draft}
    {state}
{workflow}

    {workflow-body}
{repository-workflow}
* Staff edit pages, though a change to a page is not visible to non-team members until an editor approves it.