Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

You need to have installed the ServiceRocket's Reporting Pluginversion 46.0 or newer. Please make sure you visit the Reporting Plugin PageFor further documentation, please see ServiceRocket's Reporting documentation.

Excerpt

You can use the Reporting plugin for more sophisticated reports. The {workflow-reporter} is an optimized reporter that lets you filter entries by space, states, and other index values.

The Workflow Supplier provides workflow-related information to the Reporting plugin.

Example

The following report will show all the pages on state For Review, when the page was last published, the existing labels, and the first task (if any).

No Format
{report-table}
{workflow-reporter:spaces=AWP|states=For Review}
{workflow-reporter}
{report-column:title=Page}{report-info:content:title|link=true}{report-column}
{report-column:title=State}{report-info:workflow:state>name}{report-column}
{report-column:title=Last published}{report-info:states>Published> last >date > dd/MMM/yyyy}{report-column}
{report-column:title=Last Updated By}{report-info:content:modifier>full name|link=true}{report-column}
{report-column:title=Updated}{report-info:content:modification date > dd/MMM/yyyy}{report-column}
{report-column:title=Tasks?}{report-on:workflow:tasks|separator=comma}{report-info:name}{report-on}{report-column}
{report-column:title=Labels}{report-info:labels}{report-column}
{report-table}

Other Examples

Pages in the For Review state for more than two weeks

Uses the date-filter.

No Format
{report-table}
{workflow-reporter:spaces=AWP|states=For Review}
{date-filter:workflow:state>date|maxValue=-2w}
{workflow-reporter}
{report-column:title=Page}{report-info:content:title|link=true}{report-column}
{report-column:title=Last published}{report-info:states>Published>date > dd/MMM/yyyy}{report-column}
{report-column:title=Send for review on}{report-info:workflow:state>date>dd/MMM/yyyy}{report-column}
{report-column:title=Last Updated}{report-info:content:modification date > dd/MMM/yyyy}{report-column}
{report-column:title=Last Updated By}{report-info:content:modifier>full name|link=true}{report-column}
{report-column:title=Tasks?}{report-info:workflow:tasks > 1 > name}{report-column}
{report-column:title=Labels}{report-info:labels}{report-column}

{report-empty}
There are no pending pages
{report-empty}
{report-table}

Reporting on pending tasks on a page

Use the local-reporter to report on the current page's tasks:

...