Comala Workflows is now Comala Document Management. Click here for the latest documentation.

The Chart macro, bundled with Confluence, in conjunction with the Workflow Report macro, provides a great way to create graphical summaries of workflow states in your content.

Stats table

Start by adding the Workflow Report macro to a page in the usual manner. In the sidebar, set Type to stats.

You can preview to check the results:

Chart macro

Now you've got the desired output from the Workflow Report macro, it's time to add the Chart macro.

When you add it to a page, you'll see that it can contain body content.

Cut-and-paste the Workflow Report macro in to the body of the Chart macro.

Edit the Chart macro to choose what type of graph you want. Pie and Bar charts work really well.

Report columns

The Chart macro assumes the first column, 0, is a series name, but the Workflow Report macro uses it for the first state.

In the Chart macro's Columns setting, start the numbering from 0.

Enter a comma-separated list of the numbers you want.

For example, if you have 7 workflow states, your numbers will be 0, 1, 2, 3, 4, 5, 6 (a total of 7 columns).

Test it

Note: For this screenshot we used columns: 0, 1, 2, 3, 4

As you can see, this is a really fantastic way to provide reporting for documentation dashboards.

See also

External Links:

Reporting Guide:

Workflow Authoring Guide: