Package com.founder.fix.fixflow.core.model

Examples of com.founder.fix.fixflow.core.model.ProcessDefinitionQuery.processDefinitionNameLike()


    ProcessDefinitionQuery processDefinitionQuery = processEngine.getModelService().createProcessDefinitionQuery();
    try{
     
      String processName = StringUtil.getString(params.get("queryProcessName"));
      if(StringUtil.isNotEmpty(processName)){
        processDefinitionQuery.processDefinitionNameLike(processName);
      }
      String processId = StringUtil.getString(params.get("queryProcessId"));
      if(StringUtil.isNotEmpty(processId)){
        processDefinitionQuery.processDefinitionKeyLike(processId);
      }
View Full Code Here


    assertEquals(1, processDefinitionBehaviors.size());
   
    //创建流程定义查询
    processDefinitionQuery = modelService.createProcessDefinitionQuery();
    //查询流程名称like  StartProcessInstanceTest流程的的流程定义
    processDefinitionBehaviors = processDefinitionQuery.processDefinitionNameLike("StartProcessInstanceTest流程").list();
    //验证是否为2个
    assertEquals(2, processDefinitionBehaviors.size());
   
    String processDefinitionId = processDefinitionBehaviors.get(0).getProcessDefinitionId();
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.