05-18-2017 07:53 AM
how to reassign a userTask?
lets assume a userTask is assign to user X and i want to assign this usertask to assign to user y.
i am using that query to assign a task
{"action":"claim","assignee":"userId"}
http://localhost:8080/activiti-rest/service/runtime/tasks/taskId
what is the query to reassign a userTask?
05-18-2017 08:13 AM
You must call the two REST APIs in order.
1. unclaim
POST runtime/tasks/%taskId%
{
"action": "claim",
"assignee": null
}
2. claim
POST runtime/tasks/%taskId%
{
"action": "claim",
"assignee": %userId%
}
Reference
15.7.5. Task actions
05-18-2017 08:13 AM
You must call the two REST APIs in order.
1. unclaim
POST runtime/tasks/%taskId%
{
"action": "claim",
"assignee": null
}
2. claim
POST runtime/tasks/%taskId%
{
"action": "claim",
"assignee": %userId%
}
Reference
15.7.5. Task actions
05-22-2017 04:32 AM
Explore our Alfresco products with the links below. Use labels to filter content by product module.