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?
Solved! Go to Solution.
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
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.