cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter workflow task details in dashlet.?

manav
Confirmed Champ
Confirmed Champ

hi,

I have created a workflow with 4 user tasks and I workflow is running good and i have created 4 dashlets in alfresco.

I wanted to implement to show the details of each user task to separate dashlets means i have user tasks name as

      1.customer details

     2.document submit

      3. Submit details

     4. customer review.

I wanted to display all the user tasks when assigned to user in separate dashlets means one dashlet for the details of 1.customer details will display the task details of customer details.

one for 2.document submit to display the document submitted task details and so on ...one for 3. Submit details and one for 4. customer review with display of task details as my-tasks dashlets.

So how can i do that please help me.

1 ACCEPTED ANSWER

vikash_patel
Star Contributor
Star Contributor

Hi, Manav

may be this link will be help to you for getting the workflow instances

List workflow tasks | Alfresco Documentation 

You have to implement a data webscript for your requirement.

thanks,

View answer in original post

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

The default data web script for tasks does not support quering / filtering of tasks based on name or an arbitrary process property. So you might have to implement your own data web script to back a custom my-tasks dashlet variant. Alternatively, the default data web script supports *excluding* tasks based on their name so you could achieve the filtering by collecting all the task names you do *not* want and pass that via the "exclude" URL query parameter to the backing web script.

vikash_patel
Star Contributor
Star Contributor

Hi, Manav

may be this link will be help to you for getting the workflow instances

List workflow tasks | Alfresco Documentation 

You have to implement a data webscript for your requirement.

thanks,