cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow visualization

SylvainD_
Champ on-the-rise
Champ on-the-rise

Hi, Is anybody know how to query / view / show for a specific user (not an administrator) the tasks in progress for all the workflow he initiated ? Thanks

4 REPLIES 4

Yousuf_Nejati
Star Contributor
Star Contributor

Hi Sylvain,

Workflow tasks that are currently in progress, for the individual user, are provided in the 'Home' tab of your Nuxeo Platform. See the image below.

Hope this helps,

-Yousuf

My Workflow Tasks

Hi,

Yousuf_Nejati
Star Contributor
Star Contributor

Hi Sylvain,

Thanks for clearing that up. What you are looking for is distributed over various tables in the database, in the tables 'task', 'task_info', and 'task_step'.

Use the dashboard layout contribution as an example, at:

<component name="org.nuxeo.ecm.user.center.dashboard.jsf.layouts.dashboard">

You can easily create your own widget, querying the database for your desired fields, and add your new widget to the dashboard. Or, even modifying the current dashboard_user_tasks widget, and overriding the default by packaging your contribution, either in Studio or IDE.

<widget name="dashboard_user_tasks" type="contentViewWithForms">
<!-- handles labels to display the widget help within the widget -->
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">title.dashboard.userTasks</label>
</labels>
<helpLabels>
<label mode="any">label.workflow.tasks</label>
</helpLabels>
<translated>true</translated>
<properties widgetMode="any">
<property name="contentViewName">user_tasks</property>
<property name="foldable">true</property>
<property name="useAjaxPagination">true</property>
</properties>
</widget>

This all should help you get to where you need to be.

-Yousuf

Amir_Buzo
Confirmed Champ
Confirmed Champ

Monitoring workflow is done usually by Administrator. I would suggest to create a content view where you query your dc:created workflows and their tasks. I had a similar problem and i solve it this way. Although if your are an administrator it does not show you a visual graph for the current workflow. https://doc.nuxeo.com/display/NXDOC/How+to+Query+Workflow+Objects This should help you a bit.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.