cancel
Showing results for 
Search instead for 
Did you mean: 

How do you list the documents and their corresponding workflow data such as the workflow assignee, workflow state and deadline (date)?

apagulayan_
Champ on-the-rise
Champ on-the-rise

I am trying to produce a document summary containing document data and worflow data. Basically, each line will contain the document data and workflow data (assignee, lifecycle state and deadline).

Since the content view does not provide any workflow data except lifecycle state, I am trying to write a bean which will gather this information and display it from a tab. Recovering the document data is not a problem. To recover the workflow information, I tried using the DocumentRoutingService and TaskService. However, I get exception errors when I use them.

Could you explain the approach in order to do this? Thank you.

2 REPLIES 2

Fred_Vadon
Star Contributor
Star Contributor

Hi,

You may have noticed that when a workflow is started on a document, you have a workflow tab that displays information that seem to be exactly what you are looking for. So why not reuse that? :) I've checked very quickly, but if you take a look at the following link, I think there is all the information you are looking for : Nuxeo GitHub Routing Layout contribution

Fred

The workflow tab is per document. As we group the documents in different structures (like folders), we want a summary list to know how many documents are of a certain state out of a total number of documents in each structure and a breakdown on the task of the current document, due date, assignee, etc...