04-18-2017 04:49 PM
I am trying to assign multiple tasks(i have a list of taskIds) to a user at once. Right now i do it one bye one using the API
PUT runtime/tasks/{taskId}{ "assignee" : "assignee"
}
Is there a better way to do the bulk assign?
04-19-2017 03:31 PM
Divya,
Given my exposure to the system, and some extensive searching through documentation - it seems that the only OOTB task update option (for assignees, variable data, etc) is the one you have found. However, creating and exposing the logic for a bulk assign on your own would not be exceptionally difficult if you'd like to go that route.
Take a look at the org.activiti.rest.service.api.runtime.task.TaskResource.Java class to see how that call is already being performed, and you could simply extend that functionality with your own custom code.
-JEarles
Explore our Alfresco products with the links below. Use labels to filter content by product module.