cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve list of the first 10 user tasks?

akanurlan
Champ in-the-making
Champ in-the-making
Hi everybody!

Is there a way to retrieve list of the first 10 user tasks(including runtime and history tasks) using API?

The first thought that has struck me is to separately extract runtime/history user tasks, merge two lists into one and sort it.

Best regards,
Nurlan
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi Nurlan,

If you query the history tasks, it will contain active and completed tasks by default. So no need to query the runtime task table as well.

Best regards,

akanurlan
Champ in-the-making
Champ in-the-making
Wow!

I have had to check it before.

Thank you for the answer, trademak!

sudha_rdy
Champ in-the-making
Champ in-the-making
Hi,

I need to get runtime and history tasks for an particular User. Is there any API to get this. Please give me the API or REST URL.  Btw I am new to activiti

sudha_rdy
Champ in-the-making
Champ in-the-making
Hi,

I had found out, hit this /history/historic-task-instances REST API to get runtime and completed tasks.