workflow-reporter macro
Looking for the Comala Document Management report macro? See workflow-report macro and the Reporting Guide.
Overview
The workflow-reporter
macro is used to generate a collection of Pages and News (blog posts) objects to use with the Appfire Reporting for Confluence app version 6.0 or above.
Using the Reporting add-on is an alternative to using the workflowreport macro. It allows you to create more advanced and customizable reports using the Reporting app reporting framework.
Where to use it?
Optional.
This is an optimised alternative to the content-reporter which provides access to workflow-related information.
The workflow-related information can be accessed through the report-info macro by using the Workflow Supplier.
For further documentation, refer to the Appfire (formerly ServiceRocket) Reporting app documentation
Parameters
Parameter | Required | Default | Notes |
---|---|---|---|
|
| Which spaces should be included in the report?
| |
| Should the report be filtered by content label(s)?
If using a list of labels, you can prefix the list with | ||
| A comma-separated list of CQL filters in the form
| ||
| Should the report be filtered to specific state(s)?
| ||
|
| Maximum number of entries in the report | |
|
| The sort order:
And the sort field:
|
Example
The Reporting app report below will generate a report similar to the states
report of the workflowreport macro.
{report-table}
{workflow-reporter:spaces=@self|state=Published}
{workflow-reporter}
{report-column:title=Page}{report-info:content:title|link=true}{report-column}
{report-column:title=Last Updated By}{report-info:content:modifier>name|link=true}{report-column}
{report-column:title=Updated}{report-info:content:modification date}{report-column}
{report-column:title=State}{report-info:workflow:state>name}{report-column}
{report-column:title=State changed on}{report-info:workflow:state>date}{report-column}
{report-column:title=State changed by}{report-info:workflow:state>user>name|link=true}{report-column}
{report-table}