use of org.jbpm.kie.services.impl.admin.commands.UpdateTaskCommand in project jbpm by kiegroup.
the class UserTaskServiceImpl method updateTask.
@Override
public void updateTask(String deploymentId, Long taskId, String userId, UserTaskInstanceDesc userTask, Map<String, Object> inputData, Map<String, Object> outputData) {
UserTaskInstanceDesc task = dataService.getTaskById(taskId);
validateTask(deploymentId, taskId, task);
UpdateTaskCommand command = new UpdateTaskCommand(taskId, userId, userTask, inputData, outputData);
execute(task.getDeploymentId(), ProcessInstanceIdContext.get(task.getProcessInstanceId()), command);
}
Aggregations