Search and reporting

One page at a time is fine until somebody asks what is still waiting on legal, or which policies expire this quarter. Capable Search turns approval state into something you can filter, sort, report on and export, across every space at once.


#Two searches you get for free

Two ready-made views appear in the catalogue as soon as Approval is installed.

Search

Shows

Your approvals

Everything you raised.

Pending approvals

Everything still waiting for a response.

Both show 25 rows. In a busy space that won't be everything, so build your own view once you outgrow them.


#Building your own view

Add any approval column from the column picker and any approval filter from the filter bar. There are 19 columns and 12 filters.

Group

Columns

People

Raised by, Assigned, Created by, Approved, Rejected, Reviewing, Commented

State

Approval status

Dates

Created at, Expires at, Last response, Completed at, Approved on

#What to sort by

You can sort by four fields: approval created at, expires at, status, and last response. Sorting by expires at gives you a what-lapses-next list, which most quality teams end up running as a standing report. See Expiry and re-approval.


#Responding without leaving the results

Click any row and the side panel opens with an Approval tab holding the same control you get under a page title. You can raise or answer an approval without ever opening the page.

Search results with the page details panel open, showing summary, headings, properties, approval, publishing, versions, links and metrics
The badge on Approval shows the page's state without you opening the page.

The tab also carries a badge showing the page's state, including whether the approval still matches the page version it was given for. See What is recorded.


#Answering several pages at once

Tick two or more rows and an action bar appears offering Approve, Reject and Comment across the whole selection, with a progress bar and a per-page result at the end.

Situation

What happens

You are not an approver on some selected rows

PARTIAL

The space requires a code to approve

ALL FAIL

The buttons appear for every selected row whether or not you can act on it. Pages you can't answer aren't greyed out up front. Instead they fail one by one and are listed at the end.


#Writing it in CQL

Eleven approval fields are queryable, so you can write exactly the query you want. Or describe it in words in Search Studio and let it write the CQL for you.

Search Studio CQL editor showing a tooltip for the approval created by field above a table of 71 matching approvals
Type what you want in plain words and Search Studio writes the CQL. Each field comes with a short description and an example.

Field type

Values and operators

Status

0 pending, 1 approved, 2 rejected

People

Account IDs, with = and IN, so = currentUser() works

Dates

Timestamps, with the usual comparison operators

CQL query bar suggesting the approval status values 0 pending, 1 approved and 2 rejected
In CQL, status is a number, and the editor suggests each value as you type. The prefix in front of the field name is different on every site.

#Scanning a space without building anything

The Manage view shows content as a page tree with an approval status column already switched on. It is often the fastest way to see how a space is doing before you go near a saved search. For a dashboard instead, see Track approvals.


#A few things that catch people out

  • A brand new approval won't appear until Confluence has indexed it. Give it a moment.

  • The status column is narrow by design, so a long approver list is cut short on screen. The full list is in the export.

  • Exports write plain text rather than the avatars you see, which is what you want for a spreadsheet.

  • The export doesn't mark which responses were signed, so on its own it isn't evidence of signature. See Compliance.



One query, and the whole site answers you.