This documentation relates to the 4.3 release of Ad hoc Workflows

 Documentation for other versions of Comala Workflows is available too.

Purpose

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

Syntax

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

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 footer 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 footer, 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}
...
    {pagefooter}
        || State | {get-metadata:state>name} |
        || Priority | {get-metadata:Priority} |
        || Category | {get-metadata:Category} |
        || Owner | {get-metadata:Owner} |
        || Actor | {get-metadata:Actor} |
    {pagefooter}
...
{workflow}
  • No labels