@Override public void removeHiTask(String taskId) { historyService.deleteHistoricTaskInstance(taskId); }
@Override public void removeHiTask(String taskId) { historyService.deleteHistoricTaskInstance(taskId); }
@ApiOperation(value = "Delete a historic task instance", tags = { "History" }, notes = "") @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates that the historic task instance was deleted."), @ApiResponse(code = 404, message = "Indicates that the historic task instance could not be found.") }) @RequestMapping(value = "/history/historic-task-instances/{taskId}", method = RequestMethod.DELETE) public void deleteTaskInstance(@ApiParam(name = "taskId") @PathVariable String taskId, HttpServletResponse response) { historyService.deleteHistoricTaskInstance(taskId); response.setStatus(HttpStatus.NO_CONTENT.value()); }
@Override public void deleteHistoricTask(String taskId) { try { getProcessEngine().getHistoryService().deleteHistoricTaskInstance(taskId); } catch (org.activiti.engine.ActivitiException e) { handleActivitiException(e); } }
activitiHistoryService.deleteHistoricTaskInstance(activitiTaskId);
activitiHistoryService.deleteHistoricTaskInstance(activitiTaskId);