Versions Compared

Key

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

...

The workflow status and assignees can be used as filters in the default Confluence search or macros that support CQL.

Macros

Confluence provides some macros that support CQL filters, like the Content by label macro or the Page properties report macro.

Confluence Search

 In the Confluence general search screen, you can add filters to perform an advanced search.  Comala Document Control adds filters for a workflow state and workflow properties.

...

Code Block
/rest/api/content/<pageid>?expand=metadata.properties.comalaworkflows

Search syntax is case sensitive.

Excerpt
hiddentrue
nameRest API_cdc_await

REST API

The following search returns the details of the workflow states

Code Block
rest/cw/1/content/<pageid>/status?expand=state,states,approvals,actions,tasks
Code Block
{"expand":"","workflowName":"Simple Approval Workflow","state":{"name":"Approved","nameTranslation":"Approved","initial":false,"colour":"#14892c","hideStates":false,"taskable":false,"changeDueDate":true,"transitions":{"updated":{"state":"Review"},"expired":{"state":"Review"},"select":[]},"final":true},"publishedState":{"name":"Approved","initial":false,"colour":"#14892c","hideStates":false,"taskable":false,"changeDueDate":false,"final":true},"approvals":[],"states":[{"name":"Review","nameTranslation":"Review","transitions":{"approved":{"state":"Approved"},"rejected":{"state":"Rejected"},"select":[]},"colour":"#ffab00","approvals":[{"name":"Review this page","approvers":{"minimum":"*"}}]},{"name":"Rejected","nameTranslation":"Rejected","transitions":{"approved":{"state":"Approved"},"updated":{"state":"Review"},"select":[]},"hideFromPath":true,"colour":"#ff5630","approvals":[{"name":"Review this page","approvers":{"minimum":"*"}}]},{"name":"Approved","nameTranslation":"Approved","transitions":{"updated":{"state":"Review"},"expired":{"state":"Review"},"select":[]},"changeDueDate":true,"colour":"#14892c","final":true}],"actions":[],"tasks":[],"messages":[],"displayProgressTracker":true,"displaySuppressReadConfirmation":false,"contributors":{"totalSize":-1,"result":[]}}

...

Several APIs used for reporting are available

and supported

in the Comala Document Management for Data Center app.

For information refer to the Comala Document Management Developer Guides.

Macros

Confluence provides some macros that support CQL filters, like the Content by label macro or the Page properties report macro.

Related pages

Reporting tools

...

Child pages (Children Display)
depth1
allChildrentrue
style
pageCOMALACDCLS:Report Macros
sortAndReverse
first0