cancel
Showing results for 
Search instead for 
Did you mean: 

How to show the different workflow user task details in different dashlets?

vikash_patel
Star Contributor
Star Contributor

Hi,

I have created a custom workflow which works fine with three user tasks.
All the tasks assigned to the same user
And I want to create three different dashlets which will show different task details ,
So,After workflow starts
1st dashlet will show 1st user task details and after completing this task
2nd dashlet will show 2nd user task details,
3rd dashlet will show 3rd user task details, Like as my task dashlet
How can I get/display the task detail in separate dashlets.
Any Help would be great.

Thanks

1 ACCEPTED ANSWER

Hi, Douglas

I have solved my problem by using Workflow APIs

which gives me the details of my currently running tasks.

Thanks.

View answer in original post

6 REPLIES 6

douglascrp
World-Class Innovator
World-Class Innovator

Hello.

You could take a look at how the my tasks dashlet works, understand what webscripts are executed, and see if you have all the information you need, like the task name/id.

If everything is available, then you would have to copy the dashlet's components and replicate, and in each of them, deal with the filter the way you need.

I don't think that will be an easy task, but it's doable.

I believe you will be able to reuse the OOTB webscript for repository, the one that retrieves the tasks details, and you job will be to create the different types of dashlets, so, basically, share development.

Hi, Douglas

Thanks for your reply,

I tried to implement OOTB my task dashlet .

And I referred this links and many more links for this.

 

And tried to filter my tasks by workflow list type and also by task list types.

But i can't get the result which i want.

douglascrp
World-Class Innovator
World-Class Innovator

If you want to get help with your code, you should share it somewhere and post the link here in order to someone to read it.

Hi, Douglas

Currently I am not able to filter my task using custom task dashlet.

I have found some solution using this Alfresco documentation

Workflow API | Alfresco Documentation which gives me details of my current tasks.

douglascrp
World-Class Innovator
World-Class Innovator

But I didn't get what you mean.

Have you solved your problem or not?

Hi, Douglas

I have solved my problem by using Workflow APIs

which gives me the details of my currently running tasks.

Thanks.