@Override public void delegate(long taskId, String userId, String targetEntityId) { taskService.delegate(taskId, userId, targetEntityId); } }
public void delegate(String containerId, Number taskId, String userId, String targetUserId) { containerId = context.getContainerId(containerId, new ByTaskIdContainerLocator(taskId.longValue())); userId = getUser(userId); logger.debug("About to delegate task with id '{}' as user '{}' to user '{}'", taskId, userId, targetUserId); userTaskService.delegate(containerId, taskId.longValue(), userId, targetUserId); }