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
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.