Workflow visualization

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

1 votes

3 answers

2037 views

ANSWER



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

1 votes



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.

0 votes



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

0 votes



Hi, Thanks for the answer but I don't want to see my own tasks… I would like to see all the workflows in progress I have initiated / created and their actual steps (task and user in charge…)
08/19/2016