cancel
Showing results for 
Search instead for 
Did you mean: 

Handle Navigation

m_hammad
Champ in-the-making
Champ in-the-making
Dear actviti developers,
hope find all of you on good health, there's question i would ask yours.
- what is the status key that can help us to filter created tasks to which category that will be sorted ?
- what is the task status value through activiti-rest api on which category there is ? 
http://localhost:8080/runtime/tasks/{taskId}
{
  "assignee" : "kermit",
  "createTime" : "2013-04-17T10:17:43.902+0000",
  "delegationState" : "pending",
  "description" : "Task description",
  "dueDate" : "2013-04-17T10:17:43.902+0000",
  "execution" : "http://localhost:8182/runtime/executions/5",
  "id" : "8",
  "name" : "My task",
  "owner" : "owner",
  "parentTask" : "http://localhost:8182/runtime/tasks/9",
  "priority" : 50,
  "processDefinition" : "http://localhost:8182/repository/process-definitions/oneTaskProcess%3A1%3A4",
  "processInstance" : "http://localhost:8182/runtime/process-instances/5",
  "suspended" : false,
  "taskDefinitionKey" : "theTask",
  "url" : "http://localhost:8182/runtime/tasks/8",
  "tenantId" : null
}
best regard,
Muhannad Hammad
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
> - what is the status key that can help us to filter created tasks to which category that will be sorted ?


Do you mean the category set by taskService.setCategory() ? or something else?

m_hammad
Champ in-the-making
Champ in-the-making
I mean task navigation (task status on inbox , my Task, queue, archived and involved)

frederikherema1
Star Contributor
Star Contributor
You need to fetch the identity-links for a task, to know which user are candidate for it. OR only query tasks which are claimable by a certain group. Userguide for get runtime/tasks contains docs for this…