The {workflow-reporter
} macro is used to generate a collection of Pages and Blog Posts to use with the Reporting add-on. Using the Reporting add-on is an alternative to using the {workflowreport
} that allows you to create customizable and more sophisticated reports.
This macro requires the Reporting add-on version 6 or above.
For further documentation, please see ServiceRocket's Reporting documentation.
Usage
This macro is similar to the content-reporter but it has been optimized and allows to filter workflow-related information.
Workflow-related information can be accessed through the {report-info
} using the Workflow Supplier.
Parameters
Name | Required | Default | Description |
---|---|---|---|
| No |
| A comma-separated list of spaces. Use |
| No |
| A comma-separated list of labels to be filtered. Pages/Blog posts containing any of the labels will be included in the report. If the list starts with |
| No |
| a comma separated list of lucene/search terms queries in the form |
| No |
| the states to filter |
| No | 100 | Maximum number of entries |
| No |
| The sort for the report which can be |
Examples
Here is a report which simulates the report generated by the {workflowreport
} macro:
{report-table} {workflow-reporter:spaces=@all|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}