.singleResult(); 根据自己的xml流程配置文件获取processDefinition 始终为null ,这是啥原因啊,老师` <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org...
<process id="daling" name="name_daling" isExecutable="true" activiti:candidateStarterUsers="a,b,c,d"> <startEvent id="startevent1" name="Start"></startEvent> <userTask id="usertask1" name="usertask1审批" activiti:candidateGroups="1,2"></userTask> <userTask id="usertask2" name="usert...
processDefinitionId(taskEntity .getProcessDefinitionId()).singleResult(); String category = processDefinition.getCategory(); String hql = "from Module where code='" + category + "'"; Module module = this.get(hql); if (StrUtil.isEmpty(moduleId)) { return false; } else if (moduleId.index...
} if (taskStatusEnum == null) { throw new BusinessException(MessageFormatter.arrayFormat(ErrorCode.VALID_PARAMS_ERROR.getErrorMsg(), new String[]{"状态不能为空"}).getMessage()); } processEngine.getTaskService().complete(task.getId(), completeReqDTO.getTaskVariables()); return null; } })...
The syntax that should be used is the same as in SQL, eg. %test% processDefinitionNameLikeIgnoreCase ProcessDefinitionQuery processDefinitionNameLikeIgnoreCase(String nameLikeIgnoreCase) Only select process definitions where the name matches the given parameter, ignoring upper/lower case. The syntax that...
(className,processDefinitionId);outPutLinks.forEach(obj->{// 配置连线信息ProcessTaskConfig processTaskConfig=processTaskConfigMap.get(obj.getId());if(null!=processTaskConfig){list.add(newWorkBtn(processTaskConfig.getBtn(),processTaskConfig.getUrl(),processTaskConfig.getFlowFlag()));}});returnlist...
getVersion()); pdrJSON.put("deploymentId", processDefinition.getDeploymentId()); pdrJSON.put("isGraphicNotationDefined", isGraphicNotationDefined(processDefinition)); return pdrJSON; } origin: Activiti/Activiti BpmnDeployer.getIdForNewProcessDefinition(...)...
if (files == null) { return null; } // 遍历目录下的所有文件 for (File f : files) { if (f.isFile() && f.getName().equals("processdefinition.xml")) { fileNew.add(f); } else if (f.isDirectory()) { //文件夹 递归 getFilePath(f.getAbsolutePath()); } } //返回目录下所有pr...
MAIN_PROCESS_FLAGVARCHAR21Indicates if this is a sub process or the parent process. Parent process can be consisted of one or more sub processes. EFFECTIVE_START_DATEDATEDate Effective Entity: indicates the date at the beginning of the date range within which the row is effective. ...
*/publicProcessInstance(ProcessDefinitionprocessDefinition, Map variables, String key){if(processDefinition ==null)thrownewJbpmException("can't create a process instance when processDefinition is null");// initialize the membersthis.processDefinition = processDefinition;this.rootToken =newToken(this);this.ke...