Legacy Workflows Documentation

Looks like you followed an old link.  We have revamped our Comala Workflows Documentation, check it out here: Welcome to Workflows

This space is no longer being updated.

Purpose

The pageheader macro is used to define a block Confluence wiki markup code to be rendered at the top of pages subject to a workflow. This macro is an alternative to referring to a header template in the {workflow} macro.

Syntax

{pageheader} Syntax
{pageheader[:visibility=contributors/readonly/all]}
   <page header code>
{pageheader}

Parameters

Parameters

Mandatory

Default

Description

visibility

No

contributors

Indicates which users can view this footer: contributors (default) for contributors only, readonly for read-only users, or all for any user who has rights to view the page.

body of macro

No

Provides the format of the page header using Confluence's wiki markup language. For more information of the wiki markup language, see Confluence Wiki Markup.

Example

The example below creates a table as a page header, populated with metadata retrieved from the page. The example below is taken from the Lightweight Requirements Management workflow and can be imported for use.

{workflow}
...
    {pageheader}
        || State | {get-metadata:state>name} |
        || Priority | {get-metadata:Priority} |
        || Category | {get-metadata:Category} |
        || Owner | {get-metadata:Owner} |
        || Actor | {get-metadata:Actor} |
    {pageheader}
...
{workflow}
  • No labels