05-25-2011 12:26 PM
myTask.setAssignee(idUser);
ProcessEngines.getDefaultProcessEngine().getTaskService().claim(myTask.getId(), idUser);
myTask.setAssignee(null);
ProcessEngines.getDefaultProcessEngine().getTaskService().addCandidateGroup(myTask.getId(), null);
05-26-2011 01:59 AM
taskService.setAssignee(task.getId(), null)
05-26-2011 03:15 AM
05-26-2011 03:56 AM
09-04-2011 07:55 AM
taskService.setAssignee(taskId, null);
taskService.claim(taskId, null)
09-05-2011 03:14 AM
/**
* Claim responsibility for a task: the given user is made assignee for the task.
* The difference with {@link #setAssignee(String, String)} is that here
* a check is done if the provided user is known by the identity component.
* @param taskId task to claim, cannot be null.
* @param userId user that claims the task. When userId is null the task is unclaimed,
* assigned to no one.
* @throws ActivitiException when the user or task doesn't exist or when the task
* is already claimed by another user.
*/
void claim(String taskId, String userId);
09-05-2011 03:38 AM
09-05-2011 03:51 AM
@param userId user that claims the task. When userId is null the task is unclaimed,
* assigned to no one.
09-05-2011 05:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.