As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
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