/** * @param argument * @throws Exception */ @Override public void modifyProcess(IRequestArgumentBody argument) { String taskId = argument.getStringValue("taskId"); ActivityImpl endActivity = null; try { endActivity = findActivitiImpl(taskId, "end"); commitProcess(taskId, null, endActivity.getId()); } catch (Exception e) { logger.error("serviceImpl---流程中止失败失败" + e.getMessage(), e.getCause()); throw new ServiceRuntimeException(e.getCause(), "tips.oa.service.break.fail"); } } private void commitProcess(String taskId, Map<String, Object> variables, String activityId) throws Exception { if (variables == null) { variables = new HashMap<String, Object>(); } // 跳转节点为空,默认提交操作
activiti流程强制中断
最新推荐文章于 2024-12-12 17:42:42 发布