Overview
The {workflow}
macro defines a workflow in your workflow template, and optionally defines page headers and footers, as well as content filters for Space Mode use.
Where to use it?
Required – exactly one per workflow template.
The {workflow}
macro must be the first macro in your template.
It must contain at least one {state}
macro.
Parameters
Parameter | Required | Default | Notes | |
---|---|---|---|---|
macro body |
The following macros can be put in the body of a
Content by label
There is no content with the specified labels | |||
| Defines additional users who should be treated as admin users from the perspective of the workflow:
Content by label
There is no content with the specified labels | |||
| Name of the workflow:
Content by label
There is no content with the specified labels | |||
FiltersIn Space Mode, these parameters can be used to determine which content the workflow should be applied to. | ||||
|
| Which types of content should the workflow be applied to?
Content by label
There is no content with the specified labels | ||
Prior to version 5.1, Global workflows applied in Space Mode did not respect the news only filter (they would be applied to pages too). This bug is fixed in version 5.1 and above. | ||||
invertlabel | false | Should the purpose of the label parameter be inverted?
Content by label
There is no content with the specified labels | 4.9 | |
| Which labels should this workflow be applied to?
Content by label
There is no content with the specified labels | |||
| Should one or more labels be protected from removal?
Content by label
There is no content with the specified labels | |||
User InterfaceThese parameters facilitate customisation of various elements of the user interface. | ||||
| Display a Space-level Page Template in the footer of all pages / blog posts that the workflow is applied to:
Content by label
There is no content with the specified labels See also: {pagefooter} macro | 3.1+ | ||
| Display a Space-level Page Template in the header of all pages / blog posts that the workflow is applied to:
Content by label
There is no content with the specified labels See also: {pageheader} macro, {include-segment} macro, {set-message} macro, {workflow-instructions} macro | |||
progresstracker | true | AWP-3784 Should the Progress Tracker be available in the Workflow Popup?
Content by label
There is no content with the specified labels See also: | ||
updatestatus | false | If a page or blog post contains the Confluence {status} macro, should it be updated whenever the workflow state changes?
This is primarily for old templates that used the {status} macro as a mechanism to display workflow status in the page content.
Content by label
There is no content with the specified labels It is recommended to use the {pagestatus} macro instead. | 4.3.2+ |
Example
{workflow:name=Example} {description}Example workflow{description} {state:Editing} {state} {trigger:pagecreated} {trigger} {workflow}
All examples
See: Examples